Solved

FrontPage2000 relative address of pictures

Posted on 2004-04-13
4
264 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:kacor
  • 2
  • 2
4 Comments
 
LVL 12

Expert Comment

by:rcmb
Comment Utility
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:kacor
Comment Utility
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
Comment Utility
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:kacor
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now