[Zope] External Images

Lennart Regebro lennart@regebro.nu
Thu, 15 Nov 2001 14:07:29 +0100


With ExternalFS product you can connect the filesystem from inside Zope.
That might be an idea in this case.
----- Original Message -----
From: "Norman Khine" <khine@bmpublications.co.uk>
To: "Zope Mailing List" <zope@zope.org>
Sent: Thursday, November 15, 2001 1:39 PM
Subject: [Zope] External Images


> 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 )
>
>