I run into this problem with my Macbook Air. I do not completely understand what is happening. I know that some of the software programs to view the photo can recognize the orientation and autocorrect, while some just display the photo in the orientation it was taken in.
What I found that works is to use my photo editing program to orient the picture in the correct position and then do a Save As to a new file name. This seems to create a new photo in a new orientation and then it uploads and displays properly.
I see that the photo in question could be oriented and cropped to display just the photo. I think if that were done, it would solve the problem.