• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.