[Zope] External Images

Norman Khine khine@bmpublications.co.uk
Thu, 15 Nov 2001 12:39:44 -0000


Hello,

I have a public folder in usr/local/apache/htdocs/posters/ of my apache
setup containing something like 3,000 images.

Now my question is how do I go about in using this information within zope,
without actually having to import all the images into zope?

I already have a database which has indexed all the filenames for the
images, I can create a ZSQL Method which displays this, but I can figure how
to specify the external file system, so that when I have a method to display
an image, the image id is picked up from the ZSQL Method, this adds it to
<img src="usr/local/apache/htdocs/posters/image1.jpg" border="0" alt="" />

I can create content using html tags within a method, so that includes links
to an external images resource. e.g.
 <img src="http://localhost/catalog/posters/61_imageThree.jpg" border="0"
alt="" /> which works.

BUT is this the done thing????

Hope it makes sense..

Thanks

Norman