Don't need to use file for image
Correct image orientation accordingly to the EXIF