Here are some photo posting tips if you’re taking photos with your phone or iPad – the best way for proper orientation is to shoot landscape (widescreen). Rotate your phone or iPad CCW for proper orientation. If you want your photos to be portrait then open the photo in a viewer on your computer, rotate it to the orientation you want, then save it in that orientation. It will be correct when you upload it to the servers here. If you’re shooting video please shoot widescreen like our monitors, not portrait.
I've struggled at times with photos that I have taken in one orientation and changed to another (almost always taken in Landscape and reoriented to Portrait), posted them and had them show up in Landscape, sideways. I tried changing the internal properties item but that doesn't work consistently.
First, I nearly always crop my photos to focus on just the subject. But, whether I crop or not, I always, always, always "resize" down to 640x480 for Landscape or 480x640 for Portrait, save with a name that includes "640" so I know what it is by looking at the file name and then post that. This ensures the photos display within the field typically shown on user's webbased screens, rather than being too large and spilling off the right side.
To deal with the problems with orientation I've had, I often take a photo in Landscape, of something that I want in Portrait, then crop it down to a Portrait shape (since I almost always crop anyway) and continue with the resizing and saving as above. This pretty much ensures the photo will display as Portrait - but the internal orientation "properties" field will show it as Landscape.
Sounds complicated, perhaps, but I it doesn't seem that way to me but is worth it as it presents images with focused information the way I want them to be displayed.