Hi all,
I wrote a small script that is supposed to get an image from a database and
return it to the user. The relevant part looks like this:
<?php
[...]
header('Content-type: image/jpeg');
header('Content-Disposition: inline; filename=".$image_name".);
print $image;
?>
This works fine in mozilla (and I guess netscape as well), but IE displays
the image as bitmap, regardless which instructions I send out to it. It
actually seems to decompress the jpeg back to bitmap before displaying,
because even if I try to save the file as jpeg it writes it in bitmap. I
though that these headers were pretty standard, and I am really puzzled as
to why IE doesn't take them into consideration.
Is there any way around this problem? T.I.A.
B.