Our Upload-Widget supports client-side based downscaling of uploaded images to fit within given
maxImageHeight, while preserving the original image Aspect-Ratio.
For example, with a configuration of
maxImageWidth: 500 &
maxImageHeight: 500, uploading of a 600x400 image, the result will be a 500x333.
Note that smaller images will not be upscaled.
Additionally, we support providing
minImageHeight which serves as predicates. Every image whose dimensions are below this threshold will be blocked for uploading.
More information can be read here.