It appears you can only upload a picture as-is, or delete it. I don't see a Rotate button on the site. You can rotate your pictures first by opening them with Microsoft Office Picture Manager or the like, clicking Edit Pictures, then Rotate and Flip. When you close, it will save your picture that way, and then you can upload it to your tree.