We were planning to do the exact same thing for our site, so I think it's a great idea. There may be even more to the solution. The Zope folks should probably look at the html standard for the image tag and add all attributes that are defined there to the image class. (I haven't checked the standard, maybe height, width and border are the only ones.)
Date: Tue, 07 Sep 1999 13:11:12 -0300 From: Mauricio Souza <mauricio@hiper.com.br> Organization: =?iso-8859-1?Q?Hiperl=F3gica?= To: Zope@zope.org Subject: [Zope] Image.py modifications.
In my Zope 1 and Zope 2, i do a modification on the Image classes. I created a default property named border with the value 0 and when we call the __str__ function i put the 'border=0' inside the tag. I do that because i want to use the simple <a href><!--#var image--></a> without getting terrible blue borders around my image.
What you all think about that change to be implemented in future zope versions?
-- Mauricio Souza Lima <mauricio@hiper.com.br> Hiperlógica <http://hiper.com.br> Automação de web sites | Web site automation São Paulo | Brasil | Fone: +55-11-251-4894
participants (1)
-
Steve Jibson