Make WordPress Core

Opened 18 months ago

Last modified 6 weeks ago

#48489 new defect (bug)

Big image size threshold should take into account registered image sizes.

Reported by: johnbillion Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 5.3
Component: Media Keywords: needs-patch good-first-bug
Focuses: Cc:


The "big image" upper size threshold is set to 2560. If an image size is registered that has a width or height larger than this, then the image will be unexpectedly cropped to 2560.

The value that gets passed through to the big_image_size_threshold filter should be set to the maximum value of either 2560 or the largest width or height from all registered image sizes.

Change History (5)

This ticket was mentioned in Slack in #core-media by antpb. View the logs.

15 months ago

#2 @pbiron
15 months ago

  • Milestone changed from Future Release to 5.4

#3 @johnbillion
14 months ago

  • Focuses performance removed
  • Keywords needs-patch added; dev-feedback removed

#4 @johnbillion
14 months ago

  • Milestone changed from 5.4 to Future Release

#5 @johnbillion
6 weeks ago

  • Keywords good-first-bug added
Note: See TracTickets for help on using tickets.