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!
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
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