Adobe Creative SDK

Follow

Image Editor Web SDK forceCropPreset is not enforcing the crop dimensions

When editing image that is smaller or just a little bigger than the crop preset dimensions, the "forceCropPreset" functionality will be disabled.

To ensure the dimension in the "forceCropPreset" will be used every time, set cropPresetsStrict: true, when you want to force the user to crop every image edited to the dimensions in the crop preset.

The reason for this override is because if the image dimensions is smaller than one of the crop preset dimensions, we hide/disable the preset to let the user adjust the crop dimensions unless this flag is set.

Was this article helpful?
0 out of 0 found this helpful

Comments

Powered by Zendesk