[opencms-dev] Problem with paths in templates

Gonzalez, Arnau (GE Consumer Finance, consultant) arnau.gonzalez at ge.com
Fri Aug 12 12:41:24 CEST 2005


Hello,

I have a template in this folder structure:

folder
     |_ images
     |_ templates
                |_ template.jsp

There are a lot of references to images in the code of the template like this: "images/picture.gif"

In order to don't have to change every link I use the directive <base> in this way to locate the pictures:
<base href="<cms:link>../index.html</cms:link>"/>

If I use the <cms:link> tag in a single image, it appears correctly, but that's not the case if I use the line written above.

Could anybody tell me why?

Thanx

Arnau



More information about the opencms-dev mailing list