i want to read the exif comment and thumbnail fields of an image and display them on a single website. however i don't have a clue how to do that. resetting the header probably wasn't more than a last desperate try..
with the code below the thumbnail gets displayed fine while the following text is not visible.
thanks for your answer, but it doesn't helb me solve my problem. i would just get the whole stream in textual form but cannot convert it to be displayed as an image.
you need a seperate script (or a fiddled version of that script to call as the image, which can then output the image stream. Otherwise, you just send an image stream with a bunch of junk (your html and text) attached.