Posted 16 August 2006 - 12:14 PM
If I do this:
<a href=my.png width=100><img src=my.png /></a>
the thumbnail displays fine, but when I click it I get the binary for the png when viewed in firefox, but I get the pic in IE...
I can do bmp, jpg, gif the same way, with no problems..
How do I fix it?
Is in an httpd.conf thing?
Posted 04 September 2006 - 09:56 PM
Posted 05 September 2006 - 12:19 PM
Posted 06 September 2006 - 12:34 AM
This sounds like a browser/client issue with Firefox. It should be fixed with the latest update (from what I understand). If you continue to get the error, its because png headers are not being forced by the browser. You can force it by writing PHP/GD script that looks something like this:
<?PHP header ("Content-type: image/png"); $im = imagecreatefrompng($_GET['img']); imagepng($im); ?>
That way you can display a full GD image with a URI like: script.php?img=path/to/img.png
Student of: Ubuntu6 | Java | C | VB.NET | ASP.NET
Developer: Roddzilla Webstudios, Burrson CG, DVIDSHUB, The Four Nations
Student: Georgia Tech, Georgia Tech College of Computing
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users