[wp-trac] [WordPress Trac] #18520: Allow addition of image sizes in Thickbox via filter

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 26 23:34:55 UTC 2011


#18520: Allow addition of image sizes in Thickbox via filter
-------------------------+------------------------------
 Reporter:  alexkingorg  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:  3.3
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by alexkingorg):

 Once we allow additional sizes to be filtered in, the UI needs a little
 revision as well. The alignment options need to be moved flush left (to
 match the rest of the fields) and the different sizes need to be presented
 in a vertical list instead of floated. Here are screenshots for
 demonstration purposes:

 * [http://cl.ly/180z0D0D2A1X0J0p0M1T Current, with standard sizes]
 * [http://cl.ly/2M1N092p3m3n1B3M3L38 Current, with additional sizes
 filtered in]
 * [http://cl.ly/0o2m3G2e0Z1u0Z3u0W0h Proposed, with standard sizes]
 * [http://cl.ly/2z1N2S1l1D1X1c0u2V16 Proposed, with additional sizes
 filtered in]

 We trade a touch of vertical hight for the default case to be able to
 better accomodate customization. A reasonable trade IMO.

 I've attached a patch that includes the CSS changes needed for this (along
 with the filter addition).

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


More information about the wp-trac mailing list