[Zope] border on img vars?

Martijn Pieters mj@antraciet.nl
Fri, 24 Sep 1999 13:51:33 +0200


At 13:11 24/09/99 , Ethan Fremen wrote:
>Um, sillly question:
>I know how to set properties on image files, but how do I get them to
>show up in the tag like width and height?  (I want to set border=0)

Instead of <dtml-var imagename> do

   <dtml-var "imagename.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
------------------------------------------