I was having the challenge to implement an image cropper when uploading a picture to the server as display picture for my company website. So, after searching and trying so many open source options for cropping a picture, finally, I come up with the solution. Here is a screenshot of my implementation:
The cropper has all necessary features like –
- rotation flipping
- zoom in and out
- and other which are needed
Another important thing is, it comes with the license under MIT. In my project, I took the cropped image which is actually a base64 data format and sent it to the server as an ajax request.
Here is the link of Cropper.js : https://fengyuanchen.github.io/cropperjs/.