All Images have vanished from web page

  • Thread starter BrendanChandler
  • Start date
B

BrendanChandler

I am creating a new website using FP2002.

The images on the 'template' page were visible when uploaded to
http://www.greatgaygatherings.co.uk but are no longer displayed.

They are still visible in .Preview' and in 'Preview in Browser' but not in
the website when uploaded.

Any suggestions very welcome.
 
T

Thomas A. Rowe

You have to import the image into your current open FP web / site prior to using them on your pages.
Your image current point back to a folder on your D drive.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
http://www.Ecom-Data.com
==============================================
 
B

BrendanChandler

Thank you for advice.
I did import the images and this had no effect.



I felt that the problem was to do with addressing of the images.

I began with the images folder within the base web folder. It worked for a
while and then stopped.

I then began placing images within the web folder but that did not solve the
problem.



I edited the Javascript to remove the address of the image ‘2Lesbians’,
uploaded the file and tried again but the image is not displayed.



I notice that within the Javascript there is a variable ‘base href’ <base
href="file:///D:/SkyeDraft1">

I guess that FP uses that to calculate the address of images etc.

I commented that out and removed and re-added the lesbian image, published
the revised page. It still does not show the image and when I look at the
code on the website, it has the folder name again and does not display the
image.



It seems to me that it is using absolute addresses rather than addresses
relative to the webfolder.

Having added 2LesbianFAces.jpg from the base web folder, I looked at the
code which says that the image is in src="SkyeDraft1/2lesbianfaces.JPG"

I also notice that FP has reinstated the base href that I commented out
above ( <base href="file:///D:/SkyeDraft1">)

As neither D: nor the folder SkyeDraft1 are available on the server it must
fail to find the image.

I tried deleting folder name in the line src="SkyeDraft1/2lesbianfaces.JPG",
leaving just the file name but even in FP, the image is not displayed.



Every address, of another Page, a Button image, any image begins with
‘Skyedraft1’ and there is no folder of that name on the server.

I created a folder of that name on the server, in the base directory of the
website, created folders for images and buttons there and hey presto, the
images are visible.

This should help to cast light on the solution but is not the solution as it
seems to me that I will also have to place all pages linked to in that
directory and then people who enter the URL of a page will not be able to
access it unless I duplicate the page in the base directory?

Brendan
 
R

Rob Giordano [MS MVP]

Open FP
File | Open Site (browse to D:\SkyeDraft1) and open it.
select your images folder
File | Import
import all the images you want to use either one at a time or bulk
Now, insert your images from the images folder into your design - within FP
(do not copy/paste from image from outside FP because then FP doesn't keep
track of them)

other hint...do not use capitalization or spaces in folder or file names as
this may break links in some browsers.



--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression
 

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

Top