[Zope] Simple question

Andreas Kostyrka andreas@mtg.co.at
Thu, 19 Aug 1999 17:45:08 +0200 (CEST)


On Thu, 19 Aug 1999, Phil Harris wrote:

> Or even
> 
> <img src="images/imgname" border=0 alt="blah">
Well this isn't that good, because:
/index_html      <img src="images/imgname">
 --> /images/imgname
/test/index_html <img src="images/imgname">
 --> /test/images/imgname

Basically, by supplying a relative path, you force the browser to load
the file more often than needed.

<dtml-var image>
and
<dtml-var "image.tag()">

supply always the correct real URL.

Andreas
--
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA