Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Image uploaded with wrong extension: html output is blocked before `cropZoom`action call

Started by Samuele Masetto 8 years ago · 0 replies · 602 views
8 years ago

Hello,
in page I have uploaded an image with wrong extension (jpg instead of bmp).
In my template I use cropZoomaction: In developer site the result is an image called fallback.jpg. In the production site html output is blocked.

Is there a way to test if a media is consistent and have a correct extension? And above all I don't understand why html is blocked in production site: it stops before the cropZoomaction call and I haven't informations in grav.log.

Thanks
Samuele

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 227 9 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago