[Zope] images in directories

Chris Withers chrisw@nipltd.com
Mon, 06 Nov 2000 10:21:24 +0000


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 )