Opened 2 days ago
Last modified 2 days ago
#66050 new defect (bug)
image auto rotated on upload
| Reported by: | jz99 | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | Awaiting Review |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
hi.
i'm a professional photographer and i use wordpress as my portfolio. whenever i upload portrait oriented images, it gets autorotated into landscape, and i would have to manually rotate it back to portrait before putting it in the slideshow in the editor, which creates extra work.
i did some research and i can see the reason behind the design, but i'm concerned on it also creating another copy of the file? if so what are some of the fixes? i don't want to store image that's doubled in size.
thanks,
J
Attachments (2)
Change History (4)
#2
in reply to: ↑ 1
@
2 days ago
hi adam,
- i tried both uploading in editor + media library page, both yielded the same result.
- the source of image is a jpg export from Adobe Bridge (for the most part).
- usually i edit them from the raw file and then export the jpg.
- i checked the exif data on those images, and it contained the orientation instruction to rotate them (code 6) so i'm starting to think that its something on my end to fix, other portrait images in the past just said "horizontal(1)" in the orientation tag
- i'm running wordpress v7.1, and i'm uploading the media info as well as an problem image to this thread
thank you!
Replying to adamsilverstein:
Hi @jz99 -
WordPress will try to keep your portrait image in portrait orientation based on EXIF data, so it sounds like you have hit some sort of bug.
A few follow up questions:
- Are you uploading the image in the media library or directly in the editor? Can you try both and see if the results are the same.
- What is the source of the image?
- Are you doing any processing on the image before you upload it?
- What happens if you upload the original image, is the rotation/orientation preserved correctly?
Also, please confirm your WordPress version and your media library support details (found under Tools->Site Health->Info->Media).
Finally, can you share a copy of an image that causes this issue? This would help us make sure it is correctly handled.
Thanks again for the bug report. You might find a plugin that can help you in the meantime, for example https://wordpress.org/plugins/fix-image-rotation/.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @jz99 -
WordPress will try to keep your portrait image in portrait orientation based on EXIF data, so it sounds like you have hit some sort of bug.
A few follow up questions:
Also, please confirm your WordPress version and your media library support details (found under Tools->Site Health->Info->Media).
Finally, can you share a copy of an image that causes this issue? This would help us make sure it is correctly handled.
Thanks again for the bug report. You might find a plugin that can help you in the meantime, for example https://wordpress.org/plugins/fix-image-rotation/.