Opened 12 years ago
Closed 11 years ago
#23621 closed defect (bug) (wontfix)
Twenty Thirteen: use core functionality to find first image in gallery post format
Reported by: | lancewillett | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | |
Focuses: | Cc: |
Description
Use a core function to find and display the first image in the post, "first image attached to post" or better yet, first image from the gallery based on the gallery shortcode settings (because user can change ordering).
See #22960 for proposed new core functions.
Twenty Thirteen only needs to work in 3.6?+. See also #22907 for a similar issue in Twenty Eleven.
Attachments (1)
Change History (10)
#2
@
12 years ago
- Summary changed from Twenty Thirteen: use core functionality to find first image in gallery in gallery post format to Twenty Thirteen: use core functionality to find first image in gallery post format
#5
@
12 years ago
Tracy, it could be. Could you post a screenshot here of the gallery post's editor page from wp-admin? So we can repeat the way you created the gallery content.
#8
@
11 years ago
- Keywords close added; needs-patch removed
Turns out with Twenty Thirteen we aren't going to parse out the first image from the gallery, after all.
That *will* be useful for Twenty Eleven, though.
Twenty Thirteen displays the entire gallery on both index and single views. Here's what it does to make it fancier on the index view:
- uses CSS to make the first image 300px by 300px
- uses CSS to crop the other thumbnails to square size
- uses a shortcode attributes filter to make the images larger -- which avoids upscaling a 150px by 150px thumbnail to 300px.
I think that means we can close this as "wontfix" -- @obenland, your thoughts?
I've been looking into this. This is what's causing *nothing* (as in no content; title displays fine) to appear when the gallery is part of an archive/index page, correct? See: http://family.rotton.com/ (where the first post as of the writing of this comment is a gallery), correct?