🌐An image or file won't load
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
- Open the address shown in the console as it is and check whether the file is there
- Check that the file name matches exactly, capital letters included (logo.PNG ≠ logo.png)
- 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
- Page not found (404)
404 Not Found - Internal server error (500)
500 Internal Server Error - Authentication failed (401)
401 Unauthorized - No permission (403)
403 Forbidden - Too many requests (429)
429 Too Many Requests - CORS error (cross-site request blocked)
blocked by CORS policy - Couldn't send the request (Failed to fetch)
TypeError: Failed to fetch - Connection refused (localhost refused to connect)
ERR_CONNECTION_REFUSED - Mixed content (http request on an https page)
Mixed Content - Request method not allowed (405)
405 Method Not Allowed - What you sent is too big (413)
413 Payload Too Large - The middle server got no answer (502)
502 Bad Gateway - Service temporarily unavailable (503)
503 Service Unavailable - Redirects loop forever (too many redirects)
ERR_TOO_MANY_REDIRECTS - Blocked by an ad blocker
net::ERR_BLOCKED_BY_CLIENT