Manual:$wgThumbnailMinimumBucketDistance/fi

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> Thumbnail settings</translate>: $wgThumbnailMinimumBucketDistance
Minimal distance between intermediary thumbnail size and target thumbnail size.
<translate> Introduced in version:</translate>1.24.0 (Gerrit change 135008; git #7036e7b6)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(ei-negatiiviset kokonaisluvut)
<translate> Default value:</translate>0

Tiedot

This variable influences how intermediate thumbnails are used when $wgThumbnailBuckets is enabled: an intermediate will only be selected as the source for creating the target thumbnail if it is at least $wgThumbnailMinimumBucketDistance pixels wider. Esimerkiksi seuraavilla asetuksilla:

$wgThumbnailBuckets = array ( 128, 256, 512 );

ja etäisyys 50:

$wgThumbnailMinimumBucketDistance = 50;

if we want to render a thumbnail of width 220px, the 512px bucket will be used, because 220 + 50 = 270 and the closest bucket bigger than 270px is 512.

Katso myös