<img> tags, dtml-vars and css
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? Troy Farrell Video Operations Technician III Williams VYVX Services 918.573.3029 918.573.1441 fax mailto:troy.farrell@wilcom.com http://www.williams.com
[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.. HTH. -Morten
participants (2)
-
Farrell, Troy -
morten@esol.no