kirtithorat / carrierwave-crop

Carrierwave extension to crop uploaded images using Jcrop plugin with preview.
MIT License
94 stars 58 forks source link

crop x/y are incorrect if version is specified on cropbox #20

Open atstockland opened 8 years ago

atstockland commented 8 years ago

If I specify version on cropbox and/or previewbox --- the resulted crop is not representative of the area selected. Its not even close. I'm really sorry I dont have any spec to illustrate this...I tried.

atstockland commented 8 years ago

I just wanted to follow up on this. I have a version in my uploader called :big_thumb. If use f.previewbox :avatar, version: :big_thumb, and f.cropbox :avatar, version: :big_thumb --- the form renders as expected (using the big_thumb version to crop rather than original). However, x and y are not correct. If I select an area to crop---the crop always originates at 0/0 (top left).