Manual:$wgUploadThumbnailRenderMap
From Linux Web Expert
<translate> Thumbnail settings</translate>: $wgUploadThumbnailRenderMap | |
---|---|
An array of thumbnail widths to be rendered at upload time. |
|
<translate> Introduced in version:</translate> | 1.25.3 (Gerrit change 157157; git #623d7789) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (array) |
<translate> Default value:</translate> | [] |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
When defined, is an array of thumbnail widths to be rendered at upload time. The idea is to prerender common thumbnail sizes, in order to avoid the necessity to render them on demand, which has a performance impact for the first client to view a certain size.
This obviously means that more disk space is needed per upload upfront.