Uploaded images aren't working.

Discussion in 'Web Design and Development' started by rossmadden, Aug 30, 2011.

  1. rossmadden macrumors member

    Joined:
    Feb 3, 2011
    Location:
    Swansea, UK
    #1
    Hi everyone,

    I'm having a problem with my images on my website. It's not complete yet but I wanted to throw it up so I can show the person I'm making it for.

    I have set up a directory on my hard drive for all my html/css and media.
    so i have
    "/documents/websites/
    /pictures
    /html"

    So all my images are sources from that folder, so when i use <a href=" ", I type in the full path. the images work when I load the html file in safari.

    I've just uploaded both folders into the public file on the FTP but the images aren't working. the links and everything else work fine. I viewed the source and everything is still patched as if its trying to link to the folders on my hard drive. how do i swap it so it links to the images that are now uploaded by my FTP?

    Thanks, Ross.
     
  2. ombrenelcielo macrumors regular

    ombrenelcielo

    Joined:
    Jan 21, 2011
    Location:
    Helsinki, Finland
    #2
    I really do not understand what are you actually asking.

    you should be able to visualize your image either using:
    "/folder/img.jpg"
    if the page where img.jpg resides is at the same level of "folder"

    or
    "../folder/img.jpg"
    if recursive (=folder is at prev level in the folder tree).
     
  3. digitalField macrumors regular

    Joined:
    May 21, 2004
    Location:
    portland
    #3
    can you provide actually links to your html files. it will make it easier to figure out what is going on.

    M
     

Share This Page