Is it possible to limit the media file upload size by file type? For example, we want to allow clients to upload documents up to 15MB, but don't want them to upload 15MB jpg files.
There probably is a way to distinguish between images and other file types but I'm wondering if perhaps you should instead consider pre processing the images during upload instead? James who made imageProcessor wrote about how to that here https://24days.in/umbraco-cms/2014/all-your-images-are-belong-to-umbraco/
Limit media file upload size by type
Is it possible to limit the media file upload size by file type? For example, we want to allow clients to upload documents up to 15MB, but don't want them to upload 15MB jpg files.
Hi Lesley
There probably is a way to distinguish between images and other file types but I'm wondering if perhaps you should instead consider pre processing the images during upload instead? James who made imageProcessor wrote about how to that here https://24days.in/umbraco-cms/2014/all-your-images-are-belong-to-umbraco/
Just my 2 cents :)
/Jan
We do this using a custom Multi-part file uploader;
If you look at blueimp, I think they are doing it. It's a pretty good library (and free).
https://github.com/blueimp/jQuery-File-Upload
is working on a reply...