scaleflex / filerobot-image-editor

Edit, resize, and filter any image! Any questions or issues, please report to https://github.com/scaleflex/filerobot-image-editor/issues
MIT License
1.26k stars 321 forks source link

Is there a way to manipulate the Resize feature? #436

Open jbwestphal opened 4 months ago

jbwestphal commented 4 months ago

Description

Screenshot 2024-02-08 at 3 47 40 PM

Is there a way to change the Resize width x height values on load? I didn't find documentation for the Resize feature, only the Crop one...

I wanted to achieve a maximum width and height. So for example, if the user uploads an image with 3000px width, the "Resize width" field would be set to 1920, and the user cannot change it to a bigger value. I still wanna have this feature exposed, so they can choose any value below 1920.

Thanks!

AhmeeedMostafa commented 4 months ago

Hey @jbwestphal sorry for the late reply, our time doesn't allow us to keep an eye on the issues regularly recently,

We don't have such possibility currently we would add it as possible enhancement to be considered once we are back to add new feats to the editor or if anyone has enough time could contribute by doing that we don't mind :)