able to read exif data and orient the direction to repair of the uploaded image(fixed #3564)

able to read exif data and orient the direction to repair of the uploaded image(fixed #3564)