Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lesley 105 posts 347 karma points
    Aug 13, 2018 @ 01:21
    Lesley
    0

    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.

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Aug 13, 2018 @ 05:19
    Jan Skovgaard
    0

    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

  • John Bergman 460 posts 1066 karma points
    Aug 22, 2018 @ 04:08
    John Bergman
    0

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies