Our Upload-Widget supports client-side based downscaling of uploaded images to fit within given maxImageWidth
and 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 minImageWidth
& minImageHeight
which serves as predicates. Every image whose dimensions are below this threshold will be blocked for uploading.
More information can be read here.
Comments
0 comments
Please sign in to leave a comment.