#23695 closed enhancement (fixed)
Add orientation information to gallery items
Reported by: | obenland | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Gallery | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
It would be highly beneficial for Twenty Thirteen to have information about image orientation for the way it implements galleries on index (#23649). Adding it in gallery_shortcode()
would make it available to all themes, and would make it easier to style images in different orientations differently.
Plugins like Jetpack currently do their own orientation detection, something that could easily become obsolete.
Attachments (1)
Change History (8)
#2
@
12 years ago
Noting a quick "just looked at it, seems fine" from Nacin in IRC today. We'd like to get this in before freeze so we can finalize Twenty Thirteen's gallery handling and avoid adding custom code to the theme.
#4
@
12 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 23649:
Note: See
TracTickets for help on using
tickets.
Patch looks good. Assuming we don't need escaping for the class value since the two possible values are hard-coded?