in reply to Re: How can I use a CGI script to return an image?
in thread How can I use a CGI script to return an image?

I disagree. Re-read his question. He's wanting to put a CGI script as the <img src="...">. Thus, his CGI script needs to output a valid binary image instead of the usual text/html.