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