Thanks for the detailed bug report. I was able to reproduce the white area problem with your sample images.
I think the bug has to do with part of the cropping code doesn’t take into account the changed dimensions due to rotation, which explains why some people see it and some don’t.
A fix for the code has been suggested, I’ll find some time this week to try it out.
I think I’ve come across a small bug: if you load in an image file, and then clear the croppie, and then load in the same file, the croppie remains blank. If you load in another file however, it works as usual.
Sorry if I missed this already being reported. This thread has gotten pretty long
is it possible to use cropped image as a temp image without storing on S3? E.g. pass the viewport part of the image to some other image element on a page. Or send a cropped part to an external API for processing.
If not: does it make a cleanup of S3 storage? because users can play a lot with cropping and to store everything could result in lots of garbage.
I’m having this same issue with rotation (with EXIF on or off). An image taken in portrait on iPhone always shows up rotated to landscape in the croppie view. I rotate it back to vertical and zoom in for uploading. It appears that any portion of the image that was outside of the right edge of the original view was replaced by white space even though it displays correctly in and outside of the viewport boundary after rotation.
This doesn’t seem to be a problem when the original image capture is in “landscape” since I don’t need to rotate it.
First off, this is a great plugin. Thank you for making it.
I am having few issues.
The Browse a Croppie is not opening the file finder in normal mode.
Oddly when I run it in debug Step by step it works fine, switch to Normal and it does not work.
An odd 1 pixel whitespace appears on the right and left of the result image.
If Zoom is disabled it still shows a white space at the bottom where the zoom control would be
Suggestion:
Color options for the Zoom control, the green button does not fit my UI
Ability to have a Preview Result Image display realtime in another Image Holder
Ability to disable Zoom Control but still keep Mouse Wheel Zoom enabled.
Hi, love the plugin functionality but I’m having some photos come in upside down. Can provide some samples if you guys want to test. Not sure if anyone else is experiencing this.
After spending way too much time, I finally gave up trying to find a solution to the white space and rotation issues and just put a note above the Croppie viewport saying “for best results take a landscape photo”. Not ideal.
I’ve got the rotation buttons, but when I rotate or zoom, I end up with an image with the white space along one edge. Seemed that it was more common if the original photo was portrait.
Hi Jonathan, if you could PM some sample links and steps to reproduce, I’ll have a look. Possibly the plugin might need a more recent version of the EXIF library : )