able to read exif data and orient the direction to repair of the uploade...

...d image(fixed #3564)