Manual:$wgThumbnailSteps

Category:MediaWiki configuration settings#ThumbnailStepsCategory:MediaWiki configuration settings introduced in version 1.44.0#ThumbnailStepsCategory:MediaWiki configuration settings still in use#ThumbnailStepsCategory:Thumbnail settings variables#ThumbnailSteps
Thumbnail settings: $wgThumbnailSteps
When defined, is an array of image widths used as steps for thumbnail sizes.
Introduced in version:1.44.0 (Gerrit change 1121793; git #bf7f5d3c)
Removed in version:Still in use
Allowed values:(array) or null
Default value:null

Details

When defined, is an array of image widths used as steps for thumbnail sizes. The thumbnail with smallest step that has larger value than requested will be shown but it will be downsized via HTML values. It increases the bandwidth to the users by serving slightly large thumbnail sizes they have requested but it will save resources by de-duplicating thumbnail generation and storage. Note that these steps are "best effort" and MediaWiki might decide to use the requested size for any reason.

Category:MediaWiki configuration settings Category:MediaWiki configuration settings introduced in version 1.44.0 Category:MediaWiki configuration settings still in use Category:Thumbnail settings variables