I am using Filepicker for uploading pictures and sometimes happen that the uploaded picture is rotated about 90°.
I don't know if this is a known issue or it's problem only on my side, but is there any way to avoid to this behaviour?
EDIT: I just found out that the image is saved correctly, but it's displayed incorrectly - rotated. I am loading the image this way:
= image_tag main_img.file_url, :alt => @photo.title, :title => @photo.title, :style => 'width: 200px; border: 1px solid #000;'
What am I doing wrong? Why is the image displayed as "twisted" and not in the right position?