Dynamic <IMG>

Mark Donnelly gimli at offcenter.org
Wed Aug 16 15:43:39 EDT 2000



On Wed, 16 Aug 2000, Ron Peterson wrote:

> Does /cgi-bin/tile need to output something differently than if it were
> simply dumping a PNG to a file? 

Yep; it needs to add in:
	Content-type: image/png\n\n
before any of the image data.

If you want it to do both, look for an HTTP environment variable, such as
CONTENT_TYPE or QUERY_STRING.

Cheers!
--Mark

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list