Can cropping be done from Uploadcare dialog or panel?

To crop images in the Uploadcare panel or dialog, you need to configure a cropping step for your widget:

  • For dialog: in the dialog constructor, add crop setting.
var dialog = uploadcare.openDialog(null, {
    crop: "300x200"
});
var panel = uploadcare.openPanel(placeholder, null, {
    crop: "300x200"
});