Images not showing (includes screenshot of paths)

Discussion in 'General troubleshooting' started by HeatherDoughty, May 31, 2013.

  1. None of my images are showing.

    This happens in all browsers.
    The images DO show on the production server for the site with the same exact code folders/files in the same exact structure. They also show, of course, on localhost. This is my development server, but I still need them to work :)

    I've verified the paths are correct.

    See attached screenshot:

    • top-left: the broken image icon.
    • bottom-left: chrome dev tools (I typed in 'dgsdgsdg' to get the 404 page to some up... this problem exists on all my pages though). It is showing the resources for the page and I have selected, the broken image resource. The popup box shows the actual path it is trying to use.
    • This is the tag copied from the source of the rendered page, if you are curious to see that also: <img src="/Heather/Occupy/Content/images/404Fry.jpg" alt="404 Futurama Fry">
    • bottom-right: This is windows explorer connected to my FTP account for the site. You can see the path and the 404Fry.jpg is there on the webhost in what appears to me to be the correct path

    I'm using IIS 8 if that matters (problem occurs whether I use web deploy or copy the entire folder from prod).

    Whats my story here?
     

    Attached Files:

  2. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

  3. Do you mean changie the path to the images in the image tags to hard-coded absolute paths?

    I'm afraid I need to use relative paths so that it will work on localhost, prod, and dev (this is my dev server) ...anyway some of the broken images are paths from jqueryui.css files and I can't really change those.

    making the paths absolute is not acceptable, sorry.
    Let me know if I have misunderstood you or you have another solution.
     
  4. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

    Try including a dot (.) if you are using relative pathing. Sorry, I'm not sure what is exactly happening in the screen shots you provided.
     
  5. apologies

    apologies. it seems the images are showing in firefox but not other browsers. I was simply looking at the site on your host with chrome and ie and the other with firefox. I thought I had checked with all of them, but apparently not!
    I am still puzzled, but it is not your issue to resolve. Than you for the advice.
     
    mjp likes this.
  6. You have missed some elements to show it all.
     

Share This Page