img source

  • Thread starter Thread starter Robert Raley
  • Start date Start date
R

Robert Raley

I would like to use absolute paths, such as
photos.infocol.net/img01.jpg for image source in our
pages. This will solve many problems for us as we move
pages to many webs and the structures are not the same.

Does any one know of a downside to this.

Thanks
Bob Raley
 
Bob,

If you use an absolute path, FrontPage won't update image links if you move
files. For example, say you have this directory structure:
\root
index.htm
\root\images
one.gif
two.gif
three.gif

In index.htm, you insert all three images. For one.gif, you use an absolute
path and for two.gif and three.gif, you use relative paths.

Then say you decide to rename \root\images to root\pics. FrontPage will
automatically update the paths for two.gif and three.gif but will leave
one.gif alone because it ignores absolute references. For one page, that
isn't a big deal, but if one.gif is included in five pages, you'll have to
update all the links. Worse, if it's in fifty or five hundred or...you get
the idea.

Now, if you are making references using JavaScript, then you may need to use
absolute paths since FP won't update code references.

As long as you're moving pages around using FrontPage, you shouldn't run
into link problems so normal practice would be to use relative links. But,
every situation is different. At least you know what the trade-off (at
least one) is.

Good luck!
 
Back
Top