outervisuals / buddypress-media

Automatically exported from code.google.com/p/buddypress-media
0 stars 0 forks source link

Fix rotated images uploaded from mobile safari #108

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hey guys,

Cameras have exif info about rotation and portrait is considered rotated. So 
when you upload via mobile safari any photo taken in portrait is rotated wrong 
for viewing.

attached file includes a fix for current bp Album+ in WP repo.

The extra code reads the exif orientation and then rotates the image properly 
to display in the intended orientation.

Cheers,

modemlooper

Original issue reported on code.google.com by modemloo...@gmail.com on 25 Jan 2013 at 12:45

Attachments: