[Zope] passing attributes to images
R. David Murray
bitz@bitdance.com
Mon, 13 Mar 2000 14:36:06 -0500 (EST)
On Mon, 13 Mar 2000, Andy Heath wrote:
> <dtml-var imagename>
>
> gives me
>
> <image src=imagename" width="123" height="456">
>
> How can I get other attributes in there (such as BORDER=0).
For images, you can use:
<dtml-var "imagename.tag(border='0')">
I'm not sure what a "general method" would apply to, but I'd hazard
to guess that any object that produces a tag when rendered should
probably have a similar tag method...
--RDM