fixed exif orientation reading with isset()