This is a common bug on photos taken from smartphones that use the EXIF rotation tag to get the right direction as "up" in the photo. Lots of image processing libraries (like the ones used in Bitbucket) don't support the rotation tag, which means you might see images with the wrong rotation.
As an example, here's a problem with Confluence (since fixed) of the same issue: https://jira.atlassian.com/browse/CONFSERVER-32762
Generally the workaround for this is opening the image in something like Preview (macOS) or your default photo viewer in Windows and re-saving the image. The program will re-encode the JPEG data which will fix the problem with the rotation tag.
P.S. If this answer helped, please hit the checkmark on the left to mark it as accepted. Thanks!
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events