When you upload your photos, you may find some of them need rotating.
Find the photo in the album view and you will see two circular arrows at the bottom of the thumbnail. These rotate your photo either clockwise or anti-clockwise.
Rotate your photo until it is the correct orientation. It will automatically be saved in this orientation.