SSI's lose links to images (Full Version)

All Forums >> [Web Development] >> Server Issues



Message


deckhardt -> SSI's lose links to images (10/18/2001 16:11:00)

Hello,

I want to use server side includes for global navigation in my subwebs.

When I do the text comes over but none of the graphics. (the dreaded red X)

The links all point to the images directory on the including page rather than where they came from.

Is there a way around this?

Thanks,

Dave





Thomas Brunt -> RE: SSI's lose links to images (10/19/2001 16:04:00)

If you're using asp includes, you just have to make sure that the path is correct from the page to the image. You can't necessarily use the same include on all pages becaue some pages might be burrined in a series of folders while others are not. That means the path will be wrong on some and not on others.

If you're using FP Include pages, you don't have to worry about that. FP will figure that out for you on each page they're used.





abbeyvet -> RE: SSI's lose links to images (10/19/2001 18:50:00)

When using SSIs I have always found it it best to use only absolute URLs for links, all links within the site, not just images. So instead of images/picture.gif I would use http://www.thesite.com/iamges/picture.gif

As Thomas says one of the advantages of include pages is that this is all taken care of by FP, which is why unless I particularly need SSI I prefer them.

------------------
Katherine

InKK Design
LinKKs - Kilkenny's Online Magazine


-*-*-*-*-*-*-*-*-*-*
"Dogs have owners, cats have staff!"





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875