Open manumora opened 5 years ago
seems like a bug in original croppie: https://github.com/Foliotek/Croppie/issues/668
Just add:
self._originalImageWidth = canvas.width; self._originalImageHeight = canvas.height;
on line 1479, as stated in https://github.com/Foliotek/Croppie/pull/711/commits/3e0b9b138ff22d6ca3143d40dde62bbcab8134eb
It seems to be an error in last croppie versions.
Playing with your example, when the image is rotated and cropped, the picture is cutted.
Testing in local, it fails as well.