iOS App 1.31.2
When you take a photo using iOS camera app. You can take it Portrait or Landscape. When added in Mattermost via app from photo library. the photo is added correctly.
When you take a photo directly from Mattermost. Portrait photos are placed correctly but Landscape are placed in the portrait position meaning it is sideways.
Please have a look.