/edit/
Mobile devices can take pictures on different rotations depending on how the device is held.
The rotation info is stored in the exif data -> orientation for each picture, usually a jpg.
You have to parse that data and re-rotate and re-save to ‘normal’ rotation.
afaik – there is no way to do that re-rotate within a standard BP install.
There may be a WP plugin for this or you could ask the BP Media team about it or you’ll need to write some custom code.
Hi,
I am from the team that develops BuddyPress Media. Like @shanebp says, the rotation data is stored in the exif data. Generally, most devices that can detect their orientation correctly assign the data. So, when storing or uploading, things remain normal. However, older devices and iOS don’t do this and images and videos are displayed with awkward rotations.
Ideally, a browser should be able to detect this and automatically correct the rotation. However, (surprise, surprise) only Internet Explorer 10 does this.
We are working on this and there is an open issue here: https://github.com/rtCamp/buddypress-media/issues/118
We plan to fix this at least with BuddyPress Media, soon!
Regards.
Hi @saurabhshukla
How would I go about grabbing the geotag in the exif data? Does BuddyPress Media do that already? The reason I could not get buddypress media to work for me is because it doesn’t give me upload photo button on the posts? Or maybe it does and I don’t know how to use it. Maybe you can help with my questions. My Ultimate goal is so I can upload a picture and the put it on a map(like google map.
Best Regards,
Dave