[Zope] Mapping Image object properties to img tag attributes

Paul Everitt Paul@digicool.com
Mon, 15 Feb 1999 10:44:53 -0500


Jephte wrote:
> It would be cool to map Image object properties to the <IMG> 
> tag attributes.
> When using image for links, it is better to specify the 
> attribute 'border=0'

I *believe* the long-term (read: next 4 weeks) answer to this is expose
a knob in the Control Panel.  That is, you could go to Control
Panel->Products->Images and edit the DTML that formats the result of
<!--#var MyImage-->.  Your changes would then apply to all Image objects
in your Zope site.

Alternatively the management screen for Image objects could be hacked to
let each Image control its own.
 
--Paul