damian1301, I do not think that he was looking for that. Your example
does nothing but output an HTML image tag. The other examples produced
the image itself on the server and sent it to the browser.
Originally posted as a Categorized Answer.
Comment on Re: How can I use a CGI script to return an image?