[Zope] Images Properties

Andreas Kostyrka andreas@mtg.co.at
Sat, 7 Aug 1999 18:53:27 +0200


On Mit, 04 Aug 1999 Michael Fox wrote:
> Hi,
>  
> I'm new to Zope. My question is once I have added an image in Zope. Why
> when I refer to that object in a template the width and height are not
> in the code?
>  
> How do I go about doing this? other than specify the height, width etc
> in <IMG SRC="MyImage" Width="1"....etc
Use:
<dtml-var MyImage>

Or, in Zope2.0b1 or later:
<dtml-var "MyImage.tag(width=0,alt='TEST')">

--
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA