react-image-cropper icon indicating copy to clipboard operation
react-image-cropper copied to clipboard

crop max size

Open tinsaye opened this issue 8 years ago • 4 comments

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]

tinsaye avatar Nov 16 '17 13:11 tinsaye

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

rmeissn avatar Nov 30 '17 09:11 rmeissn

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

flyfloor avatar Jan 15 '18 09:01 flyfloor

@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

rmeissn avatar Jan 15 '18 16:01 rmeissn

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

zeeshanjan82 avatar Oct 13 '18 02:10 zeeshanjan82