RE: [Zope] images in directories
Is it possible to have an image named "image.gif" or "image.jpg" ? (Are file extensions allowed? If so, how are those objects addresses?) Pete
----------
"Farrell, Troy" wrote:
<dtml-with IMAGES> <dtml-var image1> </dtml-with>
This also works:
<dtml-var "IMAGES.image1">
Pete Prodoehl wrote:
Is it possible to have an image named "image.gif" or "image.jpg" ? (Are file extensions allowed? If so, how are those objects addresses?)
<dtml-with IMAGES> <dtml-var image.gif> </dtml-with> or <dtml-var "IMAGES.getitem('image.gif',1)"> cheers, Chris
Pete
----------
"Farrell, Troy" wrote:
<dtml-with IMAGES> <dtml-var image1> </dtml-with>
This also works:
<dtml-var "IMAGES.image1">
_______________________________________________ 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 )
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"> j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. On Mon, 6 Nov 2000, Chris Withers wrote:
Pete Prodoehl wrote:
Is it possible to have an image named "image.gif" or "image.jpg" ? (Are file extensions allowed? If so, how are those objects addresses?)
<dtml-with IMAGES> <dtml-var image.gif> </dtml-with>
or
<dtml-var "IMAGES.getitem('image.gif',1)">
cheers,
Chris
Pete
----------
"Farrell, Troy" wrote:
<dtml-with IMAGES> <dtml-var image1> </dtml-with>
This also works:
<dtml-var "IMAGES.image1">
_______________________________________________ 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 )
participants (3)
-
Chris Withers -
Jason C. Leach -
Pete Prodoehl