I have the same problem with the Samsung S6 - downloaded for the first time today. As a workaround, I found that if I right click the thumbnail image on those affected (ie most of them in portrait mode) and convert to an Adobe pdf, which then opens the image, and then save as a jpeg the image, the rotation stays fixed in the thumbnail and on opening in all viewers. I will in future use the camera in landscape mode whenever possible.