Copying a table results in file names that include C://

  • Thread starter Thread starter Michael Taylor in Canada
  • Start date Start date
M

Michael Taylor in Canada

This doesn't happen all the time, but enough to make it irritating

When I copy a table with an image:
example ....src="../images/next_arrow_white.gif"

when I paste to a new page the image source becomes:
src="file:///C:/Documents%20and%20Settings/Michael%20Taylor/My%20Documents/M
y%20Webs/new/images/next_arrow_white.gif
When I save the page it gets saved that way and once uploaded to the server,
results in broken images
 
Michael,
Is there anything diffreent in the way you are opening the pages?
Are you always opening the page as part of a web. Sometimes, it's easy to
just click on the file in Windows Explorer to edit it in FP without opening
it as a web first. That's where this behavior is seen the most often as FP
places this sort of file path when a web page is not part of a web, or the
page is opened directly instead of opening the web that it is part of first
and then opening the file.


Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
It could be, I often open from the most recent used files list. I will keep
that in mind and let you know.

<<Is there anything diffreent in the way you are opening the pages?
Are you always opening the page as part of a web. Sometimes, it's easy to
just click on the file in Windows Explorer to edit it in FP without opening
it as a web first. That's where this behavior is seen the most often as FP
places this sort of file path when a web page is not part of a web, or the
page is opened directly instead of opening the web that it is part of first
and then opening the file.


Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage>>
 
Michael said:
This doesn't happen all the time, but enough to make it irritating

When I copy a table with an image:
example ....src="../images/next_arrow_white.gif"

when I paste to a new page the image source becomes:
src="file:///C:/Documents%20and%20Settings/Michael%20Taylor/My%20Documents/M
y%20Webs/new/images/next_arrow_white.gif
When I save the page it gets saved that way and once uploaded to the server,
results in broken images

Well, here's one way: After saving the page, just go into HTML view and
hit Control-H to bring up the Replace window. Type in everything to the
left of the "/images/" tag (such as:
file:///C:/Documents%20and%20Settings/Michael%20Taylor/My%20Documents/M
y%20Webs/new) and replace with nothing. That will delete all
instances of that string in the HTML. Only takes a few seconds,
depending on the size of the page and the number of occurences.
 
Also If you have a FP web open, FP can do that if your web is in the default location
- your My Documents\My Web folder
You will find FP handles disc web based links better if all your disc based webs are a top level folder w/o spaces as in
C:\MyWebName
Open your current disc based web(s) and File Publish it a top level folder

--




| It could be, I often open from the most recent used files list. I will keep
| that in mind and let you know.
|
| <<Is there anything diffreent in the way you are opening the pages?
| Are you always opening the page as part of a web. Sometimes, it's easy to
| just click on the file in Windows Explorer to edit it in FP without opening
| it as a web first. That's where this behavior is seen the most often as FP
| places this sort of file path when a web page is not part of a web, or the
| page is opened directly instead of opening the web that it is part of first
| and then opening the file.
|
|
| Hope this helps,
| Mark Fitzpatrick
| Microsoft MVP - FrontPage>>
|
|
| --
| Regards
| Michael Taylor
|
| www.MichaelTaylor.ca
|
|
 
Back
Top