[wp-trac] [WordPress Trac] #36255: Custom Logo: Crop UI

WordPress Trac noreply at wordpress.org
Fri Mar 18 04:49:51 UTC 2016

#36255: Custom Logo: Crop UI
 Reporter:  mor10         |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  4.5
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui

Comment (by westonruter):

 Another option would be to go ahead and use the cropped image control, but
 then to define the `$flex_width` and `$flex_height` args to correspond to
 the image size's `$crop` value. See [attachment:36255.2-alt.diff]. There's
 a big problem here though: it seems that if you select a crop that doesn't
 match the aspect ratio defined in the image size, the cropped image will
 appear get stretched according to the `$width` and `$height` initially
 defined, not the actual width and height that the user selected during the

Ticket URL: <https://core.trac.wordpress.org/ticket/36255#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list