Re: Newbie: cannot get images to display if navigate to my webpage
- From: Molly Mockford <nospamnobody@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 7 Jul 2009 23:45:03 +0100
At 15:03:57 on Tue, 7 Jul 2009, AC <andrewfreestuff@xxxxxxxxx> wrote in <092394e6-6dae-4ce3-90e7-50677cca5980@xxxxxxxxxxxxxxxxxxxxxxxxxxx>:
My problem is that if I have a different webpage which contains a link
to the myPage.html webpage, when I click on the link it opens up to
the webpage but the pics are broken. And if I click on the pictures
the error in firefox is something like: cannot find file c:\folderX
\myPage.html\mypic.jpg
That is because the web page is looking for the picture on your own local drive. And because, once you have uploaded the web page, it is part of the Whole Wicked Web, it has no idea of where a c:\ drive might be.
In your own local copy of the web page, edit your HTML so that any reference to images which starts with c:\folderX\ becomes simply \folderX\.
Re-upload your HTML file.
Make sure you have uploaded your images.
Oh, and make sure that where you refer to your images, the name is correct with full case-sensitivity: File.JPG is very different from file.jpg on the web, although your own local computer will think it's the same. But that's not your problem; it's the absolute paths to your own hard disk which are the problem.
(Don't mention it, that'll be 3/6d please.)
--
Molly Mockford
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety - Benjamin Franklin
(My Reply-To address *is* valid, though may not remain so for ever.)
.
- Follow-Ups:
- Re: Newbie: cannot get images to display if navigate to my webpage
- From: Beauregard T. Shagnasty
- Re: Newbie: cannot get images to display if navigate to my webpage
- From: AC
- Re: Newbie: cannot get images to display if navigate to my webpage
- References:
- Prev by Date: Re: Newbie: cannot get images to display if navigate to my webpage
- Next by Date: Re: Newbie: cannot get images to display if navigate to my webpage
- Previous by thread: Re: Newbie: cannot get images to display if navigate to my webpage
- Next by thread: Re: Newbie: cannot get images to display if navigate to my webpage
- Index(es):
Relevant Pages
|