Skip to content
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

crop max size #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

crop max size #25

wants to merge 1 commit into from

Conversation

tinsaye
Copy link

@tinsaye tinsaye commented Nov 16, 2017

Until version 1.0.5 you ware able to define the max crop size. This was
a good feature we miss in our Project.
With crop(maxWidth, maxHeight) you can define the max crop size. I just
used the same idea from the old implementation.
Signed-off-by: Tinsaye Abye [email protected]

Until version 1.0.5 you ware able to define the max crop size. This was
a good feature we miss in our Project.
With crop(maxWidth, maxHeight) you can define the max crop size. I just
used the same idea as the old implementation.
@rmeissn
Copy link

rmeissn commented Nov 30, 2017

@jerryshew Do you plan to merge this feature in the future? It would be very handy for my project.

@flyfloor
Copy link
Owner

@tinsaye @rmeissn sorry I was too busy, let you waiting so long, I write a comment about this, would you update this pull request?

@rmeissn
Copy link

rmeissn commented Jan 15, 2018

@jerryshew Thanks for responding to this PR! We forked the library and included the requested changes into this fork, that is still on version 1.1.2 (as our project still uses React v0.15, that is not compatible with your version 1.2.0). See https://github.com/slidewiki/react-image-cropper

@zeeshanjan82
Copy link

I think this is a required PR we need some way to restrict the max height and max width of the cropper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants