[Zope] Newbie question re referring to items

Robin Smidsrod robin@etools.no
Tue, 12 Feb 2002 08:36:52 +0100 (CET)


On Mon, 11 Feb 2002, Lennart Regebro wrote:

> > Given a folder structure similar to the following:
> >
> > /
> >   test
> >     images
> >     content
> >
> >
> > How does a dtml document in /test/content obtain an image from the
> > /test/images folder, without using the <img...> tag. I want to be able to
> > get it using <dtml-var ...>
> 
> <dtml-var images.imagename>
> 
> As you see, you can't use dots in the imagename if you use this syntax,
> which isn't a proble,. If you for some reason must have dots in the
> imagename, this is also doable, but it gets more complex then, so thats step
> 2. :-)

Please come with an example. Pictures usually end in .gif or .jpg, so it
would be helpful to have an example...:)

-- Robin