Expected behaviour
A fallback image should be returned where the requested resource is invalid and a fallback is present in the FS and config.
Actual behaviour
When requesting a missing image, the app returns the fallback, however if the crop param is passed with the request, an empty JSON object is returned.
Steps to reproduce
- Set a fallback image in CDN
- Request a missing image
- Observer: the fallback is displayed
- Add a crop param e.g.
?crop=0,1,200,300
- Observe: the fallback is no longer returned. Instead, an empty JSON object
{} renders.
Expected behaviour
A fallback image should be returned where the requested resource is invalid and a fallback is present in the FS and config.
Actual behaviour
When requesting a missing image, the app returns the fallback, however if the crop param is passed with the request, an empty JSON object is returned.
Steps to reproduce
?crop=0,1,200,300{}renders.