I usually use a camera to take pics, because my iPhone camera has a habit of doing this. Even when I’ve downloaded the pics to my pc, reorientated them, then saved them as a new file, when I then post them here using the img/ code, they sometimes randomly appear in the wrong orientation. It’s like the ios within the device that took the picture has embedded some kind of instruction into the file, and even when you go through the steps above, as soon as it hits the forum software, or another internet application, it throws a fit and reverts to its original format. Weird and annoying. I think, although I could be wrong, it’s mainly a problem with Apple devices.
All you can do is try a different camera or phone
