What's wrong with <img src="images/image.gif"> ? ----- Original Message ----- From: "Pete Prodoehl" <pete.prodoehl@cygnusinteractive.com> To: "'zope-list'" <zope@zope.org> Sent: Tuesday, November 07, 2000 2:27 PM Subject: RE: [Zope] images in directories
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">
_______________________________________________ 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 )