Yep, the image loads Left to Right not Top to Bottom so the renderer in the browser must get confused.
It's the camera on my phone - which appears to have no setting on it.... hmmm
Yeah. This sucks for many as it's annoying, even for me sometimes.
But I often edit my images and this usually removes this issue.
One thing you could do, if you can spare a few seconds:
1. Open the image in a photo editor (any one will do)
2. Press CTRL + a to mark the entire image.
3. Press CTRL + x (to cut) or CTRL + c (to copy) the image
4. Open a new image in editor for a clean slate and don't overwrite/save changes to the original image
5. Press CTRL + v to paste the image. Most image editors will automatically adjust to the pasted size accordingly. Photoshop for example opens a new image with the exact dimensions as the clipboard.
6. Save the file as .jpg (for small size) or .png etc.
Edit: I found that I always take photos with the phone's wider side horizontal, as if taken a widescreen image. This has always fixed this issue. Hope this works for you as well.