[Zope-PTK] links to gifs

Paul Erickson erickson@ifopen.com
Tue, 18 Apr 2000 12:31:01 -0600


sareyn@franklincovey.com wrote:

> I have uploaded some gifs to the /portal-name/Images folder as Images.  When
> I go to access them, ie <img src="/portal-name/Images/file.gif">, I get a
> broken image.  Is there anything special I need to do to get this to work?
>

It depends on where the object is that's looking for the gif.  If it's in the root
folder, or can find the Images directory thru aqcuisition, then all you need is
"/Images/file.gif".  If that doesn't work, then try  this:

<img src="&dtml-portal_url;/Images/file.gif">