Re: Attaching docs, Virtual images

Frederick G.M. Roeber ([email protected])
Fri, 17 Dec 1993 10:46:14 +0100


>Using a temp file for this is a very ugly kludge and has many problems.
>It's very simple and elegant to just return the image on the fly
>when it's requested. That way you don't have to worry about the
>numerous cases when people request the document but don't request
>the image (like delayed image loading, or browsers that don't support
>images).

One idea I was mulling over awhile ago would be to add libwww handling
for MIME "multipart/mumble" data, where the first would be the text/html
file, and the later part(s) the referred-to images, sounds, etc.

Then, since (in my case) I was creating both the text and image on the
fly, I only had to create one thing: no hiding of information in the
URL, and the server remains stateless.

<hr><a href="http://info.cern.ch/roeber/fgmr.html">Frederick</a>