[Zope] Simple (I hope) question re: images

Jeffrey Robinson Jeffrey.Robinson@MCICoach.com
Tue, 29 Jan 2002 10:00:56 -0600


Just out of curiosity, is this true (the caching "problem") if a "base href"
is included in the document's <head>?

Jeff

> -----Original Message-----
> From: Lennart Regebro [mailto:lennart@regebro.nu]
> Sent: Tuesday, January 29, 2002 7:30 AM
> To: zope@zope.org
> Subject: Re: [Zope] Simple (I hope) question re: images
> 
> 
> From: "Max M" <maxm@mxm.dk>
> > <img src="images/example.gif">
> 
> Very bad idea, since you then get a relative path to the 
> images, emaning
> that images doens't get cached properly, since the webbroswer thinks
> /image/bla.gif is another picture than /foo/bar/image/bla.gif.
> But if you instead write: <img src="/images/example.gif"> it 
> would work.
> 
> However, in both these cases you don't automatically get the 
> height, with
> and alt-text in the image-tag.
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>