I had the same problem.
I figured out that that this is because of the sze of the picture. If the photo is too big, the orientation is changed, it is rotated by 90 degrees on the right.
If you reduce the size of the picture and make it small enough, the orientation should be correct.
Thx,
Raouf