[wp-trac] [WordPress Trac] #23621: Twenty Thirteen: use core functionality to find first image in gallery post format

WordPress Trac noreply at wordpress.org
Fri Mar 22 19:35:25 UTC 2013


#23621: Twenty Thirteen: use core functionality to find first image in gallery post
format
---------------------------+------------------
 Reporter:  lancewillett   |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.6
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  close          |
---------------------------+------------------
Changes (by lancewillett):

 * keywords:  needs-patch => close


Comment:

 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:

 1. uses CSS to make the first image 300px by 300px
 2. uses CSS to crop the other thumbnails to square size
 3. 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?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23621#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list