When applying a transformation, Cloudinary automatically rotates images based on their EXIF information. Sometimes an image is manually rotated using software that doesn't delete the EXIF orientation information. When the image is uploaded with this manual rotation to Cloudinary, it may be rotated again because the EXIF information remains unchanged, which may result in an incorrectly oriented image.
A workaround for this issue is to add the
a_ignore transformation which disregards the EXIF information. For example: http://res.cloudinary.com/demo/image/upload/a_ignore/sample.jpg