[Zope] Image Border

Martijn Pieters mj@antraciet.nl
Thu, 05 Aug 1999 12:51:05 +0200


At 07:10 05/08/99 , Michael Fox wrote:
>Help! I am calling images as variables eg. <!--#var MyImage-->
>
>I have specified a string in the MyImage properties of border with a
>value of zero.
>
>yet when i code <A HREF="www.mylink.com"><!--#var MyImage--></A>
>
>I see a horrible purple border. What am I doing wrong?
>
>- Michael.


Nothing. Only the width and height properties are supported and shown.

In Zope 1.10 do:
<!--#with MyImage-->
<IMG SRC="<!--#var absolute_url-->" WIDTH=<!--#var width-->
HEIGHT=<!--#var height--> BORDER=0 ALT="<!--#var title_or_id-->">
<!--#/with-->

In Zope 2.0 do:
<dtml-var "MyImage.tag(border=0)">


--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------