in reply to Re^2: CGI: Raw image data
in thread CGI: Raw image data

You could use the data: url scheme, but you'll find browser support a little lacking (Internet Explorer is among those browsers without support).

You'll need to, as previously mentioned, have the user agent make additional requests for each image.