-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Is your feature request related to a problem? Please describe.
The jQuery Uploader supported multiple crop presets via comma-separated values in data-crop
, allowing users to choose between different crop options in the UI:
data-crop="free,1:1,16:9,300x200 upscale,400x300 minimum"
There are the crop options when multiple presets are defined in jQuery Uploader:

This feature is essential for upgrading from jQuery Uploader to the new File Uploader in our applications, but the new File Uploader only supports a single cropPreset
value.
Describe the solution you'd like
Add support for multiple crop presets with the same capabilities as the jQuery version:
- Multiple presets
- Size constraints with upscale and minimum modifiers
- The crop options when multiple presets are defined
Additional context
#666 (comment)
https://uploadcare.com/docs/uploads/file-uploader/#crop-config
https://uploadcare.com/docs/file-uploader/options/#crop-preset