Images sideways and upside down

We have a number of members updating their profile photos and starting to post other images in our forums and in on their feeds, and they're appearing sideways or upside down.
How do we fix this?
Thanks so much!