Make WordPress Core

Opened 13 months ago

Last modified 10 months 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
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 (4)

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

10 months ago

#2 @pbiron
10 months ago

  • Milestone changed from Future Release to 5.4

#3 @johnbillion
10 months ago

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

#4 @johnbillion
10 months ago

  • Milestone changed from 5.4 to Future Release
Note: See TracTickets for help on using tickets.