Umbraco-CMS
Umbraco-CMS copied to clipboard
Large GIFs cause Umbraco on Azure Web App to restart when resizing in media section
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
13.4.1
Bug summary
I have an Umbraco website running on Azure Web App (Linux). When I upload a large GIF image to the media section, the website crashes and restarts. I think this is because the media section resizes for previewing media items, as I do not allow GIFs to be resized on the front-end.
I have also tested this on Azure Web App (Windows) to see if it is Linux-specific or Umbraco-specific. I can confirm the issue is also on Windows.
- Is there a known issue for this?
- Perhaps there is a workaround to stop it resizing of GIFs in the media section?
- Can I restrict media image types allowed to upload?
Specifics
- The Azure Web App (Linux) and database far exceed the minimum requirements needed to run Umbraco
- I have tried with 2mb GIFs and it struggles, but eventually got there with very high-priced Web App plan (not financially viable)
- I have tried with larger (10mb+ GIFs) and it kills the website
- May be specific to Linux, but currently trialling on Windows
Steps to reproduce
- Publish an Umbraco 13.4.1 website to an Azure Web App (Linux)
- Try to upload a GIF that is quite large (or view a previously uploaded GIF that caused a restart) in media section
- App crashes/restarts
Expected result / actual result
The Umbraco website should not crash or restart when uploading large GIF images to the media section, or when previewing large GIFs in the media section.