Welcome Guest, Not a member yet? Register   Sign In
Still having problem displaying images in IE7
#2

[eluser]xeroblast[/eluser]
try this:

in your controller
Quote:<?php
function showPicture()
{
header("Content-type: image/jpeg");
echo $row->Picture;
}
?>

in your view
Quote:<img src="&lt;?php echo site_url('controller_name/showPicture'); ?&gt;" />


Messages In This Thread
Still having problem displaying images in IE7 - by El Forum - 02-16-2010, 11:06 AM
Still having problem displaying images in IE7 - by El Forum - 02-17-2010, 12:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB