VibeDict

🌐An image or file won't load

What you'll see
GET https://mysite.com/images/logo.png 404 (Not Found)

The page opened, but an image, font, or file on it couldn't be found at its address.

🤔 Why does it happen?

  • The file path is wrong, or the file name's capital letters are different
  • The file was put somewhere other than a public folder like public
  • It's only on your computer and was never uploaded to GitHub (the deploy)

🔧 Try this

  1. Open the address shown in the console as it is and check whether the file is there
  2. Check that the file name matches exactly, capital letters included (logo.PNG ≠ logo.png)
  3. Check that the image was committed to git

🤖 Ask your AI like this

Images don't show on my deployed site and the console shows 404. Please check that the image paths and file locations are right, and fix them. [Paste the full error here]

Replace the [ ] parts with your own situation, and paste the error with a few extra lines before and after it.

Related terms

Other errors in this group