[wp-trac] [WordPress Trac] #21785: Add header image uploads with cropping to the customizer

WordPress Trac noreply at wordpress.org
Fri Apr 4 14:34:00 UTC 2014


#21785: Add header image uploads with cropping to the customizer
----------------------------+-----------------------------------------
 Reporter:  nacin           |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.9
Component:  Appearance      |     Version:  3.4
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript, administration
----------------------------+-----------------------------------------

Comment (by ehg):

 attachment:21785-suggested-dimensions.4.diff adds suggested image
 dimensions to the attachments browser and uploader views.

 In the patch:
 * Remove old suggested code
 * Add a crop object to the frame options, which contains the suggested
 dimensions as well as the imgAreaSelect options
 * Change references to imgSelectOptions
 * Display the suggested dimensions if crop is defined in the frame options
 * Add dimensions to uploader view

 Pics:

 https://cloudup.com/c5M3XF8YtE6 & https://cloudup.com/cKxy1a0UDJC

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21785#comment:68>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list