Make WordPress Core

Opened 11 years ago

Closed 5 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 Owned by:
Priority: normal Milestone:
Component: Customize Version: 4.0
Severity: normal Keywords:
Cc: Focuses:

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
11 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

This is a duplicate of #31970

#2 @CreativeInfusion
11 years ago

  • Resolution duplicate
  • Status closedreopened

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 11 years ago by CreativeInfusion (previous) (diff)

#3 @SergeyBiryukov
11 years ago

  • MilestoneAwaiting Review

#4 @celloexpressions
5 years ago

  • Resolutionworksforme
  • Status reopenedclosed

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.