New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default options for EditImage controls #333

Open
jswiderski opened this Issue Nov 15, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@jswiderski

jswiderski commented Nov 15, 2017

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:

  • Pass dimensions, "keep aspect ratio" flag to crop tool and resize tool
  • Make "keep aspect ratio" in crop and resize tool read-only
  • There should probably be possibility to pass options (could be used as set of defaults, defined by the user) to every edit image feature.
@jswiderski

This comment has been minimized.

jswiderski commented Jan 12, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment