[Zope] Gettin all images of a folder

Michel Pelletier michel@digicool.com
Tue, 28 Sep 1999 09:49:05 -0400


> -----Original Message-----
> From: Olivier Deckmyn [mailto:odeckmyn.list@teaser.fr]
> Sent: Monday, September 27, 1999 9:34 AM
> To: Zope Mailing List
> Subject: [Zope] Gettin all images of a folder
> 
> 
> Hi all,
> 
> I have a folder :
> /MyFolder
> 
> In this folder there is another folder :
> /MyFolder
>    /Images
> 
> The Images folder contains both images and some DTML documents.
> 
> I would like to be able to display the list of all available images.
> 
> What is the DTML script to write to iterate through all the 
> images of the
> Images folder ?
> 
> smthg like :
> <!--#in Images>
>   <!--#var "in-item.name"-->
> </...>

close.

<dtml-in "objectValues(['Image'])">
  The image <dtml-var id> can be found at <dtml-var absolute_url>
</dtml-in>

For more information on objectValues, search the experimental mail list
archives:

http://www.zope.org:12080/archives/Catalog/S

-Michel