--On Mittwoch, 27. April 2005 19:57 Uhr -0700 Dennis Allison <[EMAIL PROTECTED]> wrote:

In the local file system (that is, the Linux file system to be explicit) I have a collection of directories each containing an index.html file consisting of HTML and a collection of image files (*.jpg, *.gif, *.swf) referenced by the HTML. From a DTML object in the ZODB, I want to render the index.html and have it properly access the local image files.

The index.html has nothing to do with your stuff in the filesystem. You reference
images through an URL in the <img src...attribute. And the method or whatever
is located behind the URL is in charge to send the image data to the client
(it does not matter where the image is actually stored (filesystem, memory,
moon). Bascially the method is called (requested) from the client through
HTTP and it has to send the data + the corresponding HTTP header telling the
client: I am an image of type XXX.


Attachment: pgpHT4GLaSqFr.pgp
Description: PGP signature

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to