Images, being captured on cameras (including mobiles devices), often have an EXIF attribute for orientation, indicating the true orientation of the image. This information can later be used by different software to correctly display the image.
When no transformation is applied, Cloudinary delivers the original image, untouched, including its EXIF information.
However, if the image is transformed (regardless of the nature of the transformation) Cloudinary will also automatically orientate the image based on its EXIF information, and then strip this information in order to generate a lighter image for delivery. This will result in a faster load time and less bandwidth consumption.
For example, the following is an original captured image with its EXIF information below:
And now, here is the same image resized and transformed with
Notice that the transformed image was automatically orientated in addition to the requested transformation.
Sometimes we might want to prevent this auto-orientation, and this can be done by setting the 'angle' parameter to 'ignore' (i.e. `a_ignore`), for example: