Gregwar / Image

A PHP library to handle images
MIT License
1k stars 190 forks source link

Crooped picture rotates after upload... #118

Open rebellao opened 8 years ago

rebellao commented 8 years ago

Hi Mr. Greg! For information, I solved the problem....in photos captured by iPhone (maybe others smartphones) the orientation is different then convencional cameras. When I made the upload, the Picture appears ok, but in Windows Picture Viewer this is head down!! After upload, the image cropped appears head down too... I fix the image in correct position, the crop plugin Works perfectly!! So, in your crop plugin have some method for this problem?

garygreen commented 8 years ago

Did you try ->fixOrientation() ?

rebellao commented 8 years ago

Well, I didn't tried this....how this method Works? Do I have to use before the 'save' Picture? Could you send me a example, pls?