I've had the same problem. Tried many different image manipulation apps. It doesn't seem to matter what orientation the image is before I upload it. Some (but for me not the FOG) forums will do what they want with the image and rotate it to their liking regardless of how it was when I uploaded it.
I've tried stripping out all the personal information that does not appear to help. On some forums I found that once the image is uploaded if you delete it from a post say because it is rotated and then edit your original on your PC (doing nothing more than rotating the image and saving it) then upload again that IF it has the same filename it will appear to have uploaded but the server sees it already has that file and doesn't replace the file. I found if I gave the image a new filename after I did whatever manipulation it needed then I could upload it and it would be accepted. But that didn't guarantee the image would display right side up.
I've tried to outsmart the software and if the image was being displayed rotated 90° CW I would adjust the image orientation s that the forum software would rotate it CW 90° and it would be right side up but that didn't always work either.
Again, I'm talking about other forums using different software, vBulletin being a popular one, I'm not sure of the others used on other forums I have visited over the years.
So I don't think it's something you are or are not doing that causes this.