[Zope] Image sizing

Jeff K. Hoffman jeff@goingv.com
Fri, 14 Jan 2000 17:07:24 -0500 (EST)


On Fri, 14 Jan 2000 coder@kanga.nu wrote:

> Given an image object (such as the perrenial single pixel invisible
> GIF oft used in tables), is there a more direct way to provide
> custom height and width tags for the image object than:
> 
>   <img src="<dtml-var invisible_img>" width=20 height=1>
> 
> The normal:
> 
>   <dtml-var invisible_img>
> 
> of course just uses the "correct" sizes...

Try (untested):

  <dtml-var "invisible_img.tag(width=20, height=1)">

--Jeff

---
Jeff K. Hoffman                                         704.849.0731 x108
Chief Technology Officer                                mailto:jeff@goingv.com
Going Virtual, L.L.C.                                   http://www.goingv.com/