[wp-trac] [WordPress Trac] #39322: Current header image preview in Customizer is cropped

WordPress Trac noreply at wordpress.org
Sun Dec 18 06:35:47 UTC 2016


#39322: Current header image preview in Customizer is cropped
--------------------------+-----------------------------
 Reporter:  ahortin       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  4.7
 Severity:  normal        |   Keywords:
  Focuses:  ui            |
--------------------------+-----------------------------
 When viewing the Header Media/Header Image panel in the Customizer, the
 ''Current header'' preview image is cropped so that it's really small.

 You can see an example in this screenshot:
 https://cl.ly/3O1T1d0Q143Q

 The `div` that contains the image has an inline style of `height: 16px;`
 which is forcing the image to be cropped.

 This image preview should obviously be larger as a preview this small
 makes it impossible to see what the image actually is.

 I've tested this with Twenty Seventeen, Twenty Sixteen and Twenty Fifteen
 and the same thing is happening.

 The example image above was taken using Firefox. I also tested using
 Chrome and although it did appear to show properly in Chrome (with Twenty
 Seventeen), when I tested other themes (Twenty Sixteen, Twenty Fifteen and
 others) I still found that some themes were cropping the image, so it's
 not browser specific.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39322>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list