WordPress.org

Make WordPress Core

Opened 4 months ago

Last modified 2 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
Focuses: Cc:

Description

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.


6 weeks ago

#2 @pbiron
6 weeks ago

  • Milestone changed from Future Release to 5.4

#3 @johnbillion
3 weeks ago

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

#4 @johnbillion
2 weeks ago

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