[Zope] External Images

Oliver Keller oli@deswahnsinnsfettebeute.de
Thu, 15 Nov 2001 14:27:46 +0100


what about a folder alias in httpd.conf?
something like

Alias posters/ /usr/local/apache/htdocs/posters/

with that i linked from a zope site to some "old" - sill with apache 
stored - websites on the same server.

hth
oli

Norman Khine wrote:

> 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
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>