Support manual or EXIF rotation of images