[Zope] passing attributes to images

Jeff Rush Jeff Rush" <jrush@taupro.com
Mon, 13 Mar 2000 14:24:51 -0500 (CST)


Use:
    <dtml-var "imagename.tag(border=0)">

Also:
    <dtml-var "imagename.tag(xscale=2, yscale=3)">

On Mon, 13 Mar 2000 17:26:26 +0000, Andy Heath wrote:

>and to other objects
>
><dtml-var imagename>
>
>gives me
>
><image src=imagename" width="123" height="456">
>
>How can I get other attributes in there (such as BORDER=0).
>
>If I do the <image src=imagename explicitly I have to fill
>in the dimensions by hand (they are not the default ones).
>
>Also, is there a general mechanism for doing this sort of thing?

-Jeff Rush