- Determine orientation of JPEG images and automatically rotate them (usually an issue when uploading from mobile devices)
- Bugs fixed:
- return image file too when original image is not requested;
- pass isOriginalSize prop down to the Cropper.
- now cropper simply accept image file instead of dataURL of it, through same
prop
image
- onCrop callback now returns two arguments: cropped image dataURI and image file
- updated to react 16 and webpack 4 and at least making sure it works with it
- codestyle updated (ES6)
-
return original cropped size image by default, instead of given canvas size
-
add prop isOriginalSize to Cropper (default: true)
- add device touches events (now dragging is allowed on devices)
- add semantic-ui-react modal component instead of react-bootstrap modal