[wp-trac] [WordPress Trac] #48489: Big image size threshold should take into account registered image sizes.

WordPress Trac noreply at wordpress.org
Sun Nov 3 20:22:54 UTC 2019


#48489: Big image size threshold should take into account registered image sizes.
--------------------------+----------------------------
 Reporter:  johnbillion   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Future Release
Component:  Media         |    Version:  trunk
 Severity:  normal        |   Keywords:  dev-feedback
  Focuses:  performance   |
--------------------------+----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48489>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list