|Thumbnail settings: $wgResponsiveImages
|Whether or not to output high-resolution images for high-DPI displays
|Introduced in version:
|1.21.0 (Gerrit change 24115; git #Id80ebd0)
|Removed in version:
|still in use
|Other settings: Alphabetical | By function
Whether or not to output high-resolution images for high-DPI displays.
This is primarily targeted at tablet browsers and newer desktops and laptops, such as the MacBook Pro with Retina display. On these high-DPI devices, raster images appear blurry or pixelated by default without special treatment.
When generating thumbnail images, thumbnails are rendered not only at the requested size, but at 1.5x and 2x the requested size.
srcset attribute is included on the
img specifying these larger images for the appropriate display densities.
Known limitations edit
This code applies only to images created through Linker:
Display densities edit
Currently (as of 1.39) the densities used (1.5x and 2x) are hardcoded and not configurable. 1x is the implied default density of the main image.