[Zope] images in directories
Pete Prodoehl
pete.prodoehl@cygnusinteractive.com
Tue, 7 Nov 2000 08:27:23 -0600
I was sort of hoping it would be easier. It would be ideal to have this:
<dtml-with images><dtml-var image.gif></dtml-with>
boiled down to one simple tag that works when I store images in a subfolder
*and* use file extensions.
But from what I've read so far, it can't be done...
Someone suggested the following:
<dtml-var "images.getitem('image.gif',1)">
but that didn't work for some reason, and still seems a little complex for
just inserting an image.
Pete
> ----------
> Subject: Re: [Zope] images in directories
>
> hi,
>
> Sure they are. If you ftp a jpg to the server it comes up with an id of
> bla.jpg, you can then refrence it in html just like you would on an Apache
> server or whaterver <img src="../../bla.jpg">
>
>