[Troy Farrell]

| I must be ignoramus, but I can't figure out modify <img> tags as generated
| by a image object.  I have this:
| I use <dtml-var expr="img.logo_image"> to add an image object to a dtml
| document.
| How can I add a STYLE="color:silver;" or any other tag the HTML source?

Call it like so:

<dtml-var "img.logo_image.tag(style='color:silver;')">

(See somewhere around line 560 of lib/python/OFS/Image.py for more info..



Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to