The code to stream an image should look like
Header("Content-type: image/gif");
ImageGif($whatever);
The mime type is image/gif
if add echo("My Pic"); before the above two line so the code becomes like
echo("My Pic");
Header("Content-type: image/gif");
ImageGif($whatever);
I get an error:
Warning: Cannot add header information - headers already sent by (output started at d:\apache\htdocs\ve.php:133) in d:\apache\htdocs\ve.php on line 134
and the pic is garbled
Thanks