Croppie: Image not positioning correctly after rotate

Created on 10 Oct 2017  路  8Comments  路  Source: Foliotek/Croppie

Steps:

  1. Upload photo
  2. Zoom
  3. Positioned image to crop
  4. Rotate

Image is not positioned to previous viewport area.

Bug

Most helpful comment

any estimates when 2.5.2 will be released? :)

All 8 comments

It also gets wrongly crop sometimes
I think it have something to do with enforceBoundary: false
For a quick fix I rotate the image externally and then reload it!

after more investigation it has something to do with the zoom at maximum ...

My steps are a bit different but the outcome is the same, a wrongly cropped image

http://jsbin.com/lakicab/edit?html,js,output

Load the URL, zoom-out, then hit the 'Rotate' button.

image

I think I could fix that issue artificially on my end, adjusting the zoom value so that no whitespace is shown, but that's a lot of unnecessary work if this issue gets solved 馃槃

Thanks for the jsbin, it makes these things so much easier. I'll try to get this fixed in 2.5.2

@thedustinsmith glad it helped! If you need anything else from me, please let me know!

Since you offered :smirk: ....

If you could pull this branch: https://github.com/Foliotek/Croppie/tree/pre-2.5.2

I've got a potential fix for the issue in there. Would you mind being my second pair of eyes and see if it fixes your issue or breaks any of your functionality?

For sure mate! Consider it done!

I gotta finish some stuff first on my project, but I'll take a look at it in the afternoon if you don't mind.

any estimates when 2.5.2 will be released? :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicolasvahidzein picture nicolasvahidzein  路  7Comments

nicolacardi picture nicolacardi  路  4Comments

cannond13 picture cannond13  路  6Comments

powerbuoy picture powerbuoy  路  5Comments

Lenndev picture Lenndev  路  4Comments