Admin User     Jul,14 2017

Orientation Issue with iOS Image Upload

Initially, there was an issue with some photos that are uploaded on website and uploaded photos rotated (left, right or vertically) automatically.

Before Upload   After Upload
 

 

Later we found the actual issue and there is an issue with photos capture on iPhone by rotating phone and that are rotated after uploads.

Here photos taken on apple device and it adds the orientation rules to EXIF metadata of image. So based on that info you can correct the rotated photo. Here we correct photo orientation using below lucee code.

 

So using the orientation angel value we can rotate the image and we get image in correct orientation. 

Hope this my experience help you.