getgrav / getgrav/grav-plugin-admin
admin 404 images @2x on Azure
- Dominant language
- PHP
- Stars
- 377
- Forks
- 225
- Avg merge
- 11h 51m
- Merged PRs (30d)
- 4
Description
In admin I have an issue where all images uploaded to page media is getting this error:
**Weight-Management-Sm-Banner@2x.jpg:1 GET http://website.com/nz/user/pages/01.Home/Weight-Management-Sm-Banner@2x.jpg 404 (Not Found)**
All images are being uploaded to page media and then I am using pagemediaselect to select which images go where
The errors keep repeating until page load is stopped (manually). So it can result in 1000+ 404 errors in the console. The images are visible on the edit page, the original images are physically there. I am not using a function that calls for @2x.jpg.
Strange thing is that this issue is only occurring on Azure, I have the exact same files on local and another host and I don't receive any errors there.
Any ideas what the problem could be?
Contributor guide
Research direction
Reproduce the admin page-media selection on Azure and compare the generated image URLs and server-side file paths with the local and other-host copies. Start with the pagemediaselect flow and the repeated 404 requests; done means selected images load without recurring 404 errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, content
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100