If your photos appear rotated in the Photo tab, it may be caused by photo editing software that has improperly saved the image without updating the low-res thumbnail.
To fix the appearance of the rotation, turn on the High-res thumbnails option in the top right corner. The thumbnails will update with the correct preview.