RE: [Zope] Re: Image.py modifications.
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?
I've been using <A HREF="blah"><!--#var "image.tag(border=0)"--></A> on my Zope2 site for quite a while - I think DC accounted for this possiblity already... -- Dave
Dave Kimmel wrote:
I've been using <A HREF="blah"><!--#var "image.tag(border=0)"--></A> on my Zope2 site for quite a while - I think DC accounted for this possiblity already...
Yes, it works, but i want something default like the height and width. If we get it on default we can use images like this: <a href="blah">&dtml-image;</a> or <a href="blah"><dtml-var image></a> Isn't it better? -- Mauricio Souza Lima <mauricio@hiper.com.br> Hiperlógica <http://hiper.com.br> Automação de web-sites | Website automation São Paulo | Brasil | Fone: +55-11-251-4894
participants (2)
-
Dave Kimmel -
Mauricio Souza