Posted by swisscheese on 12/18/05 22:14
After reading 5 tutorials, I must be missing something basic.
>From a .php web page how can I output an image?
I created and drew the image and did:
header("Content-type: image/png");
imagepng($image,"image.png");
?>
....
<BODY
<img src="./image.png" height="400" width="400"></img>
But I get the broken image icon.
Also I don't really want to create the file - just output the image
directly.
[Back to original message]
|