Manual:$wgUploadThumbnailRenderMap/de-formal

From Linux Web Expert

Revision as of 09:55, 17 August 2022 by imported>ThisCarthing (Created page with "== Details ==")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<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>[]

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.

See also