Manual:$wgThumbnailMinimumBucketDistance/ko
Appearance
| Thumbnail settings: $wgThumbnailMinimumBucketDistance | |
|---|---|
| Minimal distance between intermediary thumbnail size and target thumbnail size. |
|
| 이 변수가 소개된 버전: | 1.24.0 (Gerrit change 135008; git #7036e7b6) |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (non-negative integers) |
| 기본값: | 0 |
| 기타 설정: 알파벳 순 | 기능별 순 | |
상세
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.
For example, with the following buckets:
$wgThumbnailBuckets = array ( 128, 256, 512 );
and a distance of 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.