[Zope] images in directories

Laurent Tranchant l.tranchant@adntic.com
Thu, 02 Nov 2000 17:21:09 +0100


CURTIS David a écrit :

> Hi,
> I check the archives but could not find an answer.  How do you display images that are burried in directories?
> For example,
> <dtml-var image1> works with the image1 at same level
> but
> <dtml-var /IMAGES/image1> does not.  nor does
> <dtml-var IMAGES/image1>
> Any help would be apprechiated.  Thanks in advance

You can use the <dtml-with> tag on the folder IMAGES (because it's an object) like that :

<dtml-width IMAGES>
...
<dtml-var image1>
...
<dtml-var image2>
...
</dtml-width>

but it's a bit boring...