OK What've I done?

  • Thread starter Thread starter JustaBloke
  • Start date Start date
J

JustaBloke

Using FP XP 2003 on Windows XP Pro

One of my sites has decided to refer to objects such as photos by their
full 'file' address on my computer. This means that a photo on say, my
desktop is not copied to the current directory within the web as usual but
is refered to where it is on the desktop.

This is not happening to other sites on my PC, just the one in particular,
this leads me to suspect that it is a 'site properties' setting, but I
can't see it.

Any help would be appreciated.
 
Make sure you have a site open (File Menu | Open Site) and that you first import all images into the
current open site prior to using them in your site. This will eliminate this issue.

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Without said:
Make sure you have a site open (File Menu | Open Site) and that you first import all images into the
current open site prior to using them in your site. This will eliminate this issue.

Thanks Thomas, I'll try that. But why has this changed? I'm used to using
the 'Insert picture from file' button and the picture being imported the
next time the page is saved.

Also, why only the one web giving problems? Other webs behaving normally.

As this site is quite near completion it seems I have a lot of 'find' and
'replacing' to do to get rid of all the 'file:///C:/documentsand
settings/blahblah...' rubbish out of the code.

Thanks again.
 
I don't know what has changed, but I have always import my images into FP prior to using.

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
personally, I don't get the need for this 'import files into web' thing with
Frontpage - I mean, all you're doing is linking files in a text file essentially,
using a tool that has a GUI to do it.

If you coded in notepad all you'd do would be to put your full urls (or relative
urls) and so on in your hrefs and img src tags and it wouldn't matter about the
file://.... problem, since if you uploaded the directories and so on to match
the structure on your hard disk, they'd work as on the local drive.



Thomas A. Rowe said:
I don't know what has changed, but I have always import my images into FP prior to using.

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

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


import all images into
the
 
When you work with FP, you are working separate environment from the rest of your HD.

When you import (drag-n-drop) items into your current open FP web, then the extensions catalog and
index the item as being part of that web by establishing relative links to the items within the web
environment.

Relative links allows the site to be published to another location without the user having a need to
know the file structure of the destination site, as well tracking what pages a items appears in or
are associated with. This is why FP can update links between items when item is re-named or moved
from one location to another within the current web.

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

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


Andrew Murray said:
personally, I don't get the need for this 'import files into web' thing with
Frontpage - I mean, all you're doing is linking files in a text file essentially,
using a tool that has a GUI to do it.

If you coded in notepad all you'd do would be to put your full urls (or relative
urls) and so on in your hrefs and img src tags and it wouldn't matter about the
file://.... problem, since if you uploaded the directories and so on to match
the structure on your hard disk, they'd work as on the local drive.
 
FP needs a way to keep track of all the files. Basically it has to create a
logical entity that defines the sandbox. If you don't, then FP won't know
how to organize the files. Sure you can edit everything in notepad, but FP
doesn't go through and just grab every file that is referenced by the web
pages on your hard drive in order to publish it. FP needs an arena to store
all the files so it can work with them using relative paths and the like and
not just link to a file anywhere on the machine. It's the same thing with
Macromedia Dreamweaver, you have to designate a project site and import
image files into it in order for it to be able to perform all its functions
properly, including link-checking and publishing.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

Andrew Murray said:
personally, I don't get the need for this 'import files into web' thing with
Frontpage - I mean, all you're doing is linking files in a text file essentially,
using a tool that has a GUI to do it.

If you coded in notepad all you'd do would be to put your full urls (or relative
urls) and so on in your hrefs and img src tags and it wouldn't matter about the
file://.... problem, since if you uploaded the directories and so on to match
the structure on your hard disk, they'd work as on the local drive.



Thomas A. Rowe said:
I don't know what has changed, but I have always import my images into
FP prior
to using.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
first
import all images into
eliminate
this issue.
 

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

Back
Top