ckfinder / ckfinder

The official CKFinder 3 repository.
http://cksource.com/ckfinder
50 stars 9 forks source link

Default options for EditImage controls #333

Open jswiderski opened 6 years ago

jswiderski commented 6 years ago

Users wants to set default options for EditImage like keepAspectRatio for crop tool.

We could add configuration option / event for this.


Also probably clients would like to have more control over editing options (disabling resizing of crop window)

We have a query on the image editor functionality, we are going to implement the image editor on our template based product, which is created with editable div’s. So we are going to define the image area in a template. So when they click on that particular box, they can either upload or select the already existing image. Now, I would like to make my cropping box dynamic for each different template. So, the cropping box should be the same size of the box selected to put image on. So, they cannot make the changes to the size of the selection area, instead they can just move the box around on the image and select the required area.For eg: If the box size selected is 2x2 inches and the picture size is 800x800 pixel, then we would like to show a crop box with the size of 600x600 px and the user should not be allowed to change the size of that selection area, instead they are allowed to just move around on the image and can select the part of the image they wish, without resizing the selection area.


I will also add that users reported would like to:

jswiderski commented 6 years ago

The request for keep aspect ratio for crop tool has been made on our support channel.