Hi I am implementing image upload functionality using php. But when I upload an image to server, the image direction is rotated automatically. i.e portrait images become landscape and the landscape become portrait. Any one faced the same issue?