Getting a 403 for image URLs.
See original GitHub issueI’m submitting a…
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report <!-- Please search GitHub for a similar issue or PR before submitting -->
[x] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->
Current behavior
When previewing some html which contains img elements with a src pointing to imgur for example I get a 403 status code (Forbidden). I would like to be able to configure the server permissions.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
forbidden 403 on image URLS - Stack Overflow
The URL is legit (If I check it manually it works) but I get 403 forbidden in my console when I debug in...
Read more >Broken images: 403 Forbidden - WordPress.org
Enabling CDN breaks my images, and when trying access the image url in the browser, I get the following error: 403 Forbidden
Read more >Links and web images with URLs failed with 403 error ... - Jira
Click Insert files and images from your toolbox; Insert an URL on the Image URL field; Publish the page; After some time the...
Read more >The picture is not displaying in my page (403 error) - Laracasts
Hello everyone, I put my website online, and the images are not showing. ... img src in my code (using the developer tool)...
Read more >error 403 when retrieving images - Forum - Discogs
I have an authorization token set up but when I try to fetch an image today I get 403 forbidden. So for example...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Solution
This issue doesn’t seem to appear when opening the page as
localhost
instead of127.0.0.1
.For example, if I start a live server and go to
127.0.0.1:5500
, images that are hosted at imgur, don’t load. But if instead I go tolocalhost:5500
everything works fine.This fixed my issue, but I don’t guarantee it to work for everyone.
Worked like a charm! Thank you!