J
Julie
I have a need for a site-absolute path specifier (server side).
My issue is that I have pages w/ graphics in the banners (whee!), but the pages
are at different levels of the folder hierarchy. Lastly, the entire site may
or may *not* be at the website root, it all depends on how it was installed.
So, to reference the graphics, I need a way to specify the location of the
graphic in a way that doesn't break.
Something like:
../images/pic1.jpg
obviously doesn't work if the page is a folder or two lower, and
/images/pic1.jpg
doesn't work if the site is installed in a sub-folder on the web server.
Is there some server-side tag that I can use in the path that will work like:
{site-root}/images/pic1.jpg
so that regardless of where the referencing page is located in the hierarchy
and regardless of where the site is installed, it will work???
Thanks
My issue is that I have pages w/ graphics in the banners (whee!), but the pages
are at different levels of the folder hierarchy. Lastly, the entire site may
or may *not* be at the website root, it all depends on how it was installed.
So, to reference the graphics, I need a way to specify the location of the
graphic in a way that doesn't break.
Something like:
../images/pic1.jpg
obviously doesn't work if the page is a folder or two lower, and
/images/pic1.jpg
doesn't work if the site is installed in a sub-folder on the web server.
Is there some server-side tag that I can use in the path that will work like:
{site-root}/images/pic1.jpg
so that regardless of where the referencing page is located in the hierarchy
and regardless of where the site is installed, it will work???
Thanks