Page 1 of 1

image output as ASCII on Firefox under XP

Posted: 2008-02-28T04:14:30-07:00
by danrop
Hi,

I'm using Windows XP Home SP2, Firefox 2.0.0.12, PHP 5.2.5 and Abyss Web Server and the static library php_magickwand_q16_st.dll.
When I try the simple example on
http://www.imagemagick.org/MagickWandForPHP/
Firefox dumps the image to screen as ASCII; however, it works fine if I view it with IE6(!)

Apparently Firefox can't figure out that it's an image its supposed to be rendering; I realise it may not be a problem with MagickWand, but any suggestions to fix this?

Thanks!

Re: image output as ASCII on Firefox under XP

Posted: 2008-03-01T07:57:45-07:00
by danrop
For the benefit of anyone else who (unthinkingly) copy-pasted the flower annotation example on the aforementioned link, expecting it to work... I hadn't output any the header entity to describe my data: header( 'Content-Type: image/jpeg' ).

Serves me right for trying things blindly, but the fact that it worked for IE threw me off.