FrontPage 2002 changing absolute URL on Images to relative URLs

G

Guest

For a variety of reasons, we need to use absolute URLs on all images inserted into our website. When the html page containing the reference to the image is saved, FrontPage 2002 changes the URL back to a relative address. Has anyone else experienced this? Did you find a fix or workaround so the references to the images stay as absolute addresses
 
T

Thomas A. Rowe

You need to place the images on the remote server, then link to them, so that the URL is absolute.
You can't link to them directly in the current web as absolute.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


DBK said:
For a variety of reasons, we need to use absolute URLs on all images inserted into our website.
When the html page containing the reference to the image is saved, FrontPage 2002 changes the URL
back to a relative address. Has anyone else experienced this? Did you find a fix or workaround so
the references to the images stay as absolute addresses?
 
D

Dennis M Reed 'Califa'

I had no problem on my site when using f:/mysite.com on my PC for all my
site and all images in /mysite.com/images and, using FP, Insert, Picture,
File to link to images/image.jpg.

I then publish my site using FP and all the relative file names are correct
on my site.
 
G

Guest

Yes, I understand that would work because the links are all relative. As I said in the initial post, the links have to be absolute, not relative to work on our site. The reason they have to be absolute is all the html pages on this site contain strictly content. The html pages are actually being included in shtml pages on another site (using server side includes) that add the Headers, footers, navigation bars, dropdown menus, etc. that we don't want our content maintainers to have access to. Because the html from the content page gets included in the shtml page a relative link to an image doesn't work. It has to be an absolute reference.
 
T

Tom Pepper Willett

Since you haven't included a snippet of the post you are replying to, we
don't know what you are replying to.

See Tom Rowe's reply.

Put your images into another web, such as a subweb, and use absolute links
to there.
--
=====================================================
Tom Pepper Willett [Microsoft MVP - FrontPage]
----------------------------------------------------------------------------
-------------------
Microsoft FrontPage:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
http://msdn.microsoft.com/office/understanding/frontpage/

=====================================================
| Yes, I understand that would work because the links are all relative. As
I said in the initial post, the links have to be absolute, not relative to
work on our site. The reason they have to be absolute is all the html pages
on this site contain strictly content. The html pages are actually being
included in shtml pages on another site (using server side includes) that
add the Headers, footers, navigation bars, dropdown menus, etc. that we
don't want our content maintainers to have access to. Because the html from
the content page gets included in the shtml page a relative link to an image
doesn't work. It has to be an absolute reference.
 
J

Jim Buyens

You would need to physically locate the images on a Web
server which is *not* your development site and *not* your
live site.

I must tell you, though, that I would be more inclined to
eliminate the reason(s) for the absolute URLs.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
-----Original Message-----
For a variety of reasons, we need to use absolute URLs on
all images inserted into our website. When the html page
containing the reference to the image is saved, FrontPage
2002 changes the URL back to a relative address. Has
anyone else experienced this? Did you find a fix or
workaround so the references to the images stay as
absolute addresses?
 
J

John Jansen \(MSFT\)

I didn't test this to extensively, but what what I just saw, if you code the
img paths to be absolute in FrontPage 2003, they are left alone.

I realize upgrading may not be on your agenda at the moment :), but
something to think about...
 
T

Targa

I found that placing the images in a directory other than the default
"images/" dir and always using www - as in http://www.yoursite.com//path as
opposed to http://yoursite.com/path keeps FP2002 from changing the image
path back to relative.

HTH



DBK said:
For a variety of reasons, we need to use absolute URLs on all images
inserted into our website. When the html page containing the reference to
the image is saved, FrontPage 2002 changes the URL back to a relative
address. Has anyone else experienced this? Did you find a fix or
workaround so the references to the images stay as absolute addresses?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top