skip to Main Content

Here is a link to the website so you can see what is going on – https://odonnelldigital.com/

The site loads with all images on any web browser when I copy the full path locally.

So, the most common errors I keep getting from google seem to be the image file being in the wrong directory. I’ve tried this multiple times, but no joy.

I’m using HTML, CSS, bootstrap & JS I’ve hosted on GoDaddy, and I’m using the cPanel.
Even the favicon won’t load! I’ve tried changing permissions too on the folder and the images/files themselves.

Any help would be really great! Thanks!

2

Answers


  1. Problem:
    Your problem is because you are trying to load a local file on your computer.
    enter image description here

    And since it is locally stored, other users on the web can’t access it.

    Solution:
    Upload the image files, the favicon, and other files to your web server and change the src attribute to the file on your site.

    Login or Signup to reply.
  2. You should check the path to the images in your html code. It is found in the src attribute in the image tags. If you take a look at the command console in chrome’s dev tools, it states that your images point towards your C drive, which lives in your local development computer. You should put paths to the images relative to where the html file lives.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search