Solved

FrontPage2000 relative address of pictures

Posted on 2004-04-13
4
268 Views
Last Modified: 2013-12-24
Hi Experts,

I have now a phenomena what I didn't have earlier. I made an HTML-based e-book. Normally I'm doing this job on my home machine (P4 1600, 512MB RAM, Win2000Prof SR2) but I was away and I installed on a Win98 (P3 400, 256 MB) the same FP2000. On this W98 machine the pictures are not transportables! That means the pictures were not shown, only the replacing square. The adress of pictures were absolute that is the adresses contain the whole path of my P4 machine therefore on the P3 machine aren't visible because the pathes differ.

There are some icons appearing on every page. The path is ../../IMAGES/IMAGES01/01.JPG - this is the standard (P4 machine version). If I don't copy, this appears normal with picture on the P3 machine. But after copying onto an other page in other subdirectory (using P3 machine) and repairing the path, after saving and loading onto P4 machine this pictures can't appear because of the absolut path: file:///C:/Dir1/Dir2/IMAGES/IMAGES01/01.JPG (this is the path for the P3 machine) in the pictures properties window which differs from the path of the P4 machine (file:///C:/Dir3/Dir4/Dir5/IMAGES/IMAGES01/01.JPG).

On the P3 machine I tried to replace the absolute address with the relative adress shown above. The picture appears normal but the relative address above after clicking OK changes to an absolute address!! The hyperlink property of the same picture remains: the relative address remains relative after copying.

What have I to set? or what made I wrong?

with best regards

Janos

0
Comment
Question by:János Szabó
  • 2
  • 2
4 Comments
 
LVL 12

Expert Comment

by:rcmb
ID: 10812837
Okay to make sure I understand your problem --

P4 machine has path to pictures ../../images/images01/pic.jpg
P3 machine has path to pictures ../images/images01/pic.jpg

Is this correct?

If yes, then on the P4 Machine (once you have moved your files back to the P4 machine) ---
The quickest way to fix this is to display your folders in the left pane view (view, folders list)
Single-LeftClick on the folder containing all the files of your e-book (not the images directory)
Click on edit, replace (check the find in html box and make sure Selected Page(s) is selected)
In the Find What box enter the bad relative path ../images/images01/
In the Replace With box enter the good relative path ../../images/images01/

Click on replace all
This will search through the directory you have selected and edit every page and fix the relative path issues. This method also allows you to move it back to the P3 machine and perform the same process.

RCMB
0
 
LVL 10

Author Comment

by:János Szabó
ID: 10813142
Hi RCMB,

thanks for the suggested method, I had to made by this way but according to my question in the last line I'd like to know which setting was wrong in this case. You know this book has more then 150 pages and it is/would be  very tedious to look after such a transfer at every page wether each view is right or not.

But again thank you for answering my question

with best regards

Janos
0
 
LVL 12

Accepted Solution

by:
rcmb earned 250 total points
ID: 10813260
Janos,
There are no incorrect settings as this appears to be a disk-based web vice a web hosted on a web server. The method I provided does not require you to open and edit any pages. By using the search and replace method, FrontPage will edit all of the pages for you and can normally be done in less than a minute.

If you were using a website hosted on a web server then the relative paths would be the same

for example:

C:\inetpub\wwwroot\website

would be the same as

C:\webs\inetput\wwwroot\website

as the web starts at "website" regardless of the actual path. (this is a setting in Internet Information Server)

When you use a disk-based web then the path always starts at the root and thus the problem that you are experiencing is evident.

Try the search and replace on the directory that contains your ebook.

R/RCMB
0
 
LVL 10

Author Comment

by:János Szabó
ID: 10813812
RMCB,

I feel this is a bug or imperfection in FP (for this and the other question http://www.experts-exchange.com/Applications/MS_Office/FrontPage/Q_20952106.html too). I found nowhere in the settings possibility for this phenomena therefore I tried in EE. probably the only solutions are what you offered. I have to accept your comments but I wait 1-2 days more if it had been some other sulution. I use FP2000 since shortly after appearing and made over hundred MB of sites so I have not many hope :-((

Janos
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How do I use iTextSharp to turn my current page into a .pdf? 14 661
I starting with php 12 133
Dreamweaver server behavior gone 6 138
Gulp not seeing Changes 4 56
In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question