Re: Newbie: cannot get images to display if navigate to my webpage



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.)
.



Relevant Pages

  • Re: Internet images
    ... Would the images be retrievable somewhere on my ... Internet Explorer saves copies of most of the ... They that can give up essential liberty to obtain a little temporary safety ...
    (microsoft.public.windowsxp.newusers)
  • Re: Whats going wrong with Ebay on Firefox?
    ... work OK but Ebay has NO images at all and the site is totally unnavigable. ... They that can give up essential liberty to obtain a little temporary safety ...
    (uk.people.consumers.ebay)
  • Re: Creating webpage with resized jpg images
    ... You could easily build a webpage that pulls in ... thumbnails before hand as you could dynamically create them on the fly. ... This uses a PHP class (have one for ASP.NET which can be used in an ASP ... Information about the images are gathered ...
    (microsoft.public.vb.general.discussion)
  • Sounds Simple but very important; Trouble saving a webpage with images Offline.
    ... I have trouble saving some important images that I need to ... along with the webpage these images are on from a website. ... These images are uploaded onto the webpage by a separate source. ... Then I also saved them 2)via Win H Track (an offline browser that saves ...
    (microsoft.public.windows.vista.file_management)
  • Re: Saving Complete web pages to the hard drive with pics etc....
    ... Saves a copy of a webpage and creates a directory that stores all the images ... to see the folder. ... Web Archive, Single File ...
    (microsoft.public.windowsxp.help_and_support)