Make WordPress Core

Opened 9 years ago

Last modified 5 years ago

#34367 reviewing enhancement

Image Editing: Orientation-aware rotation icons

Reported by: celloexpressions's profile celloexpressions Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Media Keywords: needs-patch
Focuses: ui Cc:


Having just processed a massive set of images and needing to rotate several of them, I noticed a small issue with the way the WordPress image editor's rotation icons work. They're generally much better than the standard rotation arrows you'd normally see, providing a visual of an image being rotated one way or another from portrait to landscape. But if you're looking at a landscape image that needs to rotate one way or the other, it's somewhat disorienting trying to decide which button to push, since you're essentially rotating it one more time past the orientation indicated in the icon. By contextually adjusting these icons to reflect the orientation of the image in the editor, we could eliminate an extra cognitive step during the image editing process (see proposed screenshots).

Probably the easiest way to go about fixing this would be to add a class for the image's orientation somewhere in a container div, then add some css to rotate these buttons when the image is already landscape, so that they indicate that clicking would make them rotate into portrait orientation.

Attachments (2)

34367-existing.png (249.9 KB) - added by celloexpressions 9 years ago.
34367-proposed.png (250.0 KB) - added by celloexpressions 9 years ago.

Download all attachments as: .zip

Change History (8)

#1 @melchoyce
9 years ago

  • Owner set to melchoyce
  • Status changed from new to reviewing

Awesome enhancement idea. Big +1.

#2 @melchoyce
9 years ago

  • Owner melchoyce deleted

Errr didn't mean to set myself as owner. Sorry about that.

#3 @kirasong
9 years ago

This sounds great!

#4 @celloexpressions
8 years ago

  • Milestone changed from Awaiting Review to Future Release

#5 @bendoh
8 years ago

What about when the image is square and has no definitive orientation? Neither pair of icons are technically correct in that particular case. Would it be appropriate to use a third pair of icons that simply designate generic rotation rather than a specific orientation switch?

#8 @celloexpressions
5 years ago

  • Milestone set to Future Release

This remains a valid usability enhancement with design sign-off. We just need a developer to create a patch that technically implements context-sensitive image-rotation icons.

Note: See TracTickets for help on using tickets.