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

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