Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

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

Started by Samuele Masetto 8 years ago · 0 replies · 361 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 Thomas, 1 week ago
2 54 11 hours ago
Support · by Anna, 3 days ago
2 60 14 hours ago
Support · by Justin Young, 15 hours ago
1 30 15 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 57 5 days ago