I put my profile picture in straight and it turns sideways. How do I fix this?
Hi Joel,
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.
Cheers,
Daniel
P.S. If this answer helped, please hit the checkmark on the left to mark it as accepted. Thanks!
Thank you it helped me in fixing the issue,i opened image and resaved now iam able to see the image in correct direction
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you much...it fixed my problem!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fixed my issue, as well. Thanks!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.