[wp-trac] [WordPress Trac] #36441: Customizer: when setting header image, site icon and logo, do not force the user to crop the image if cropping is not required

WordPress Trac noreply at wordpress.org
Sun May 23 19:06:44 UTC 2021


#36441: Customizer: when setting header image, site icon and logo, do not force the
user to crop the image if cropping is not required
---------------------------------------+-----------------------------
 Reporter:  azaozz                     |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  high                       |   Milestone:  Future Release
Component:  Customize                  |     Version:  4.3
 Severity:  normal                     |  Resolution:
 Keywords:  needs-testing needs-patch  |     Focuses:  template
---------------------------------------+-----------------------------
Changes (by celloexpressions):

 * focuses:   => template
 * version:   => 4.3


Comment:

 To summarize the comments above, the custom logo frontend functions
 currently only work with media attachments that have been specifically
 cropped to the 512px size.

 The most likely solution that I can come up with is to still "crop" the
 image behind the scenes (ie, create a copy of the attachment with 512px as
 the "full" size and then generate all of the site-icon-specific sizes) but
 to allow users to skip the step of selecting a cropzone. It should also be
 possible to "skip cropping" on non-square images and let WordPress auto-
 crop to square similar to the default thumbnail image size.

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


More information about the wp-trac mailing list