[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
Mon Sep 6 12:18:14 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
---------------------------------------+-----------------------------

Comment (by bbceg):

 Just to add, this forum post: [Site Icon cropped image created when
 uploaded image is 512×512]https://wordpress.org/support/topic/site-icon-
 cropped-image-created-when-uploaded-image-is-512x512/ also seems relevant
 here.

 To reiterate, if I upload a 512x512 site icon WordPress still creates a
 cropped version. This results in two virtually identical images in the
 image library (one prefixed with 'cropped-') which causes confusion and
 unnecessary clutter.

 As a side note (almost certainly off-topic) WordPress also creates the
 "cropped" image with more than twice the file size (39KB instead of 15KB)
 of the original image. This appears to be a more general problem with
 image resizing in WordPress but it seemed worth mentioning. Not sure if
 there's a separate issue somewhere that picks this up.

 Hope that's helpful.

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


More information about the wp-trac mailing list