Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

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

Started by Samuele Masetto 8 years ago · 0 replies · 529 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 webmasterodp, 1 week ago
4 157 6 days ago
Support · by nwhitfield, 1 week ago
2 135 1 week ago
Support · by stell, 3 weeks ago
5 369 2 weeks ago
Support · by gravinator, 1 month ago
5 559 2 weeks ago
Support · by Gravver, 3 weeks ago
6 347 3 weeks ago