I am developing a PHP website, and when I upload a photo taken from the iPad in portrait mode, it appears in landscape orientation on the website, but when I upload the same photo from my computer (no changes made to the photo) is displayed in landscape mode. All landscape photos look in landscape orientation just fine.
I tried to find a way to fix this and read about getting the orientation from EXIF data, but the “orientation” tag is always the same (1, if I remember correctly) whether the photo was taken in the landscape or in the portrait.
I tried to upload portrait photo to flickr from ipad and it displays correctly in portrait mode, so what am I missing?
Thanks.
source share