Limit the weight of files and images uploaded through the File and Image Pickers

That would be nice to be able to have an option that limit the file or image weight in the File Picker and the Image Picker component. For example, no more that 1Mb.

When users are asked to upload images or files, they sometimes upload huge files or images. That can quickly become a problem in terms of storage limit but also in terms of slowing down the app or eating bandwidth.

In case of multiple images or files upload, a global limit could also be set (instead or in addition to the limit by file).

For images there could be also option to limit not only the weight but also the dimensions (width and height).

To go further, an option to have images optimized (in terms of weight) or resized, could also be a plus.