Make WordPress Core

Opened 9 years ago

Closed 3 years ago

#33006 closed defect (bug) (worksforme)

Customizer: Image height set incorrectly under current header when a cropped header image is set

Reported by: creativeinfusion's profile CreativeInfusion Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Customize Keywords:
Focuses: Cc:

Description

Using the Customizer select add new image and choose a header image from the media library. When prompted choose to crop it.

The Customizer then sets the height of the new image under 'Current header' to be very tiny.

Selecting another image and reselecting the new one restores normality.

Note that it works normally if you choose not to crop.

Change History (4)

#1 @valendesigns
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

This is a duplicate of #31970

#2 @CreativeInfusion
9 years ago

  • Resolution duplicate deleted
  • Status changed from closed to reopened

I don't think it is talking about exactly the same problem.

31970 seems to be live previewing another theme and the cropped image is large and distorted.

This one is referring to the thumbnail of the cropped header image having a height set that is way too small - that's the thumbnail on the left hand side in the Customizer under the heading 'Current header'. The height is actually set on the container that the image is injected into using javascript.

Last edited 9 years ago by CreativeInfusion (previous) (diff)

#3 @SergeyBiryukov
9 years ago

  • Milestone set to Awaiting Review

#4 @celloexpressions
3 years ago

  • Resolution set to worksforme
  • Status changed from reopened to closed

I can't reproduce the issue with the height of the current header after cropping. It should be based on the image aspect ratio and taking the full width of the sidebar. If anyone else is seeing something different or broken, please feel free to reopen this ticket.

Note: See TracTickets for help on using tickets.