Foliotek / Croppie

A Javascript Image Cropper
http://foliotek.github.io/Croppie
MIT License
2.56k stars 884 forks source link

Cropie with exif on - cannot make it work #341

Open tpilitis opened 7 years ago

tpilitis commented 7 years ago

Hello I'm recently tried to stich on the exif option. I did include the script into my file and I did also turn the option on. However as soon as I did that our avatar functionality stopped working. When a user selects a file to upload for an avatar, the image is not displayed any more. i can see a black canvas only. As soon as I do remove this option, everything works correct. Wonder what might be? Cannot see any errors, but I'm sure I'm missing something.

Any help much appreciated.

io-ma commented 7 years ago

Can I see your code? maybe I can be of help :-) you can print screen it, also the way you add exif.js to your project, anything related.

taalas commented 7 years ago

This might be related to you using the latest version of exif.js (2.2.0), try switching to 2.1.1

There was a fix proposed for this behaviour but it isn't available in the official repo yet afaik

ryandanielrosenfeld commented 7 years ago

I was having that problem and switching the exif.js version did the trick for me!

oninross commented 7 years ago

doesnt work for me. enableExif: true and downloaded the 2.1.1 version. no luck

Cethy commented 7 years ago

Thanks @taalas, worked for me.