Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

background on FP

Status
Not open for further replies.

razey

Technical User
Oct 22, 2001
14
US
my background will not work. i am using frontpage 2002.
i have selected a background image. it work perfectly on my preview window but nothing else. also i know what the problem is but i cant/do not know how to fix it.
when i click the save button FP seems to save my background source code as: background="file:///D:/website/matrixach.jpg"
when i change it around to:
background="matrixach.jpg"
it works perfectly fine. the problem i am running into is when i want to edit my index page, and then save my background will not work, because it saves as background="file:///D:/website/matrixach.jpg"
any suggestions would be helpful. mabey a default setting on why FP saves it in this format? or am i supposed to have it in a certain folder. right now i have it int eh same folder as index.html
help???
thank you =)
razey
 
If you are in an edit phase, you may want to save a copy of the file to directory FP wants it to go into, then when you publish you can change your path permanently. This is a quick fix.
 
Just thought I would suggest something else, sounds like the file you are working on is not included in a FrontPage web (havn't used 2002, only 2000/98, so not sure of the differences)

When working in a FP Web, FP saves all the paths to files and images as relative (ie ./images/bob.gif) rather than absolute (ie file:///D:/images/bob.gif)

Try converting your folder that you work in to a FP Web - in FP 2000 you would do this by selecting File->New Web, then entering the path that should be your root directory.

EG if your website content is located in d:\website\, enter that - FP will then convert it to a web without losing any of your files.

I expect it would be something similar in 2002
 
got ya, what i did was take my whole site, transfer it to a different folder. make my edits, and publish it to my apache web folder. what i was doing before was just editing the page and saving, which is why i take it would not work.
thanks for your help
l8r,
razey
 
Hi,

It seems that your problem is not "saving" that it is "accessing." This could possibly be because the path is directed to a file on your D: drive (your CDRom?); also you did not mention whether or not you are trying to create/save/access your background picture as an item belonging to a theme?

Possible solutions:
1. Save your background image to a folder on your C: drive.
2. Preferably, the location should be in your website content, i.e., "images" folder.
3. When FP correctly saves the image, it should theoretically bring you to a pop-up dialog box prompted you to save the image as an embedded file within your site's folder.
4. You may try the whole process over again by accessing themes, creating or modifying an existing theme (with your background image saved on your local (C:) drive specified as the page's background, then rename, save, and apply your new theme (and of 'course background).

Hope this helps, good luck!
Angelica Alcala
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top