Two questions about linking photos, please?

  • Thread starter Thread starter Ed
  • Start date Start date
E

Ed

I have a page with several photos on it. These photos will need to be
removed from time to time, and new ones inserted. I have two questions
about doing this:
(1) If the photos are linked with names like "photo1" and "photo2", can I
assume that deleting the original "photo1" and putting in another photo
named "photo1", the link will now call the new photo?
(2) If I must delete all the photos, but don't have the new ones ready yet,
is there any way I can tell the page "If the image folder is empty, display
this message instead?"

Thank you.
Ed
 
the link will now call the new photo?

Yes - all you are really changing is the path to the sourcefile for the
photo named "photo1". But if you select the photo, and actually delete it
from the page (rather than just browser for and selecting a new source
file), you may have to rename the newly inserted image to photo1 for it to
work properly.
(2) If I must delete all the photos, but don't have the new ones ready
yet,
is there any way I can tell the page "If the image folder is empty,
display
this message instead?"

Not with ordinary HTML alone. You would need to use some custom javascript
or server-side scripting to do that. I suggest making a generic "Not
Available" image and just using that.
 
Thanks for responding, Murray.

On the linked photo:
Maybe I'm not fully understanding how this works. I'm very new to FP 2000.
I was wondering if I simply create a link on my page to a photo named
"photo1", vice actually inserting the photo into the page as Word does, for
example, then does it matter which photo is there as long as it's named
"photo1"? If I delete the previous "photo1" and insert a new file named
"photo1", would the same link still call the file with that name?

On "Photo Not Available":
Given the very limited nature of my skills, I think I might be better off
just leaving a blank box, and trusting the person viewing the page to
understand there's no photo available.

Ed
 
In most cases you can link to photo1.jpg and then replace the image with another of the same name
and not have open the page, however sometime you don have to delete the image from the page and then
re-insert if with having the same name.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Dont give up on this, it is not that hard.

First, import all your photos (say photo1.jpg, photo2.jpg, photo3.jpg, and
photo4.jpg) into an Images folder.

Then on the pictures.htm where page you want to display them, place the cursor
where you want an image, and do an Insert/Picture from file, and browse to the
picture in your images folder to select the one you want. Do this for each
photo.

Now if you have a new photo1.jpg, just import it into the images file, replacing
the photo1 that was there. It will now show up on your pictures.htm page where
the other photo1 was.

If you have an image editing program of any kind, Murray's good suggestion is
easy too. Make a graphic that says no picture available, make it the same size
as your photos, and save it with a name you recognize such as Unavailable.jpg
and keep it handy on your computer somewhere.

Then when you need to replace photo1 with the Unavailable photo, find it on your
computer, make a copy of it named photo1.jpg and import that copy into your
images folder. It will then show up on your pictures.htm oage where photo1 was.

Simple as pie.
 
Back
Top