Manual:$wgGalleryOptions

From MediaWiki.org
Jump to: navigation, search
Images: $wgGalleryOptions
Default parameters for the <gallery> tag.
Introduced in version: 1.17.0 (r63707)
Removed in version: still in use
Allowed values: associative array
Default value: see below

Other settings: Alphabetical | By Function


Details [edit]

Default parameters for the <gallery> tag, and galleries in categories.

Default value [edit]

$wgGalleryOptions = array (
        'imagesPerRow' => 4, // Default number of images per-row in the gallery
        'imageWidth' => 120, // Width of the cells containing images in galleries (in "px")
        'imageHeight' => 120, // Height of the cells containing images in galleries (in "px")
        'captionLength' => 20, // Length of caption to truncate (in characters)
        'showBytes' => true, // Show the filesize in bytes in categories
);
Language: English  • polski