Photos in the iOS app's photo browser are upside down

I uploaded some photos via the iOS app, and tried its Photo Browser feature. A lot of the photos are shown upside down.