[Zope] Background Images

Michel Pelletier michel@digicool.com
Wed, 21 Jul 1999 10:21:44 -0400


> -----Original Message-----
> From: Andreas Kostyrka [mailto:andreas@mtg.co.at]
> Sent: Wednesday, July 21, 1999 3:02 AM
> To: Arpad Kiss
> Cc: Mike Owens; 'zope@zope.org'
> Subject: Re: [Zope] Background Images
> 
> 
> On Wed, 21 Jul 1999, Arpad Kiss wrote:
> 
> > > A related question:
> > > How does one insert an image with BORDER=0?
> > 
> > <img src="tealtile" border=0>
> That is only partially correct. I'd rather prefer it with <dtml-var>
> notation, because <dtml-var> always returns the true absolute 
> URL. Which
> is an advantage, because the image is probably downloaded 
> once, instead
> for once per subfolder.

Bruce Perens submited a patch that lets you do this:

<!--#var imgname alt="this is a cool image" border=0-->

Note that the method signature is:

(height='', width='', alt='', args**)

-Michel

-Michel

> 
> Andreas
> -- 
> Win95: n., A huge annoying boot virus that causes random 
> spontaneous system
>      crashes, usually just before saving a massive project.  
> Easily cured by
>      UNIX.  See also MS-DOS, IBM-DOS, DR-DOS, Win 3.x, Win98.
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org - 
> http://www.zope.org/mailman/listinfo/zope-dev )
>