[ZPT] Relative URL

Sam Collett Sam.Collett@gp-b81091.trent.nhs.uk
Mon, 17 Dec 2001 10:58:25 -0000


How can you use relative URL's in page templates?
I have tried the following, but it does not seem to work:

<img src="..."
       tal:attributes="src string:${BASE2}/images/logo"
>

The structure wanted is:

/test/images/logo

where /test may change when the folder is renamed.

When I have a subfolder

/test/folder

can it still point to /test/images/logo
or would it end up as /test/folder/images/logo?

Does it matter if there is no images folder in /test/folder?

TIA