Extension:CategoryGallery

The CategoryGallery extension implements a tag creating a gallery of all images in a category.

Usage
If you want to show a gallery of all images in category Foo, do this: You can abbreviate it as catgallery:

The categorygallery tag itself takes several additional parameters, specified as attribute name-value pairs:




 * : (caption text between double quotes for more than a word) sets a caption centered atop the gallery.
 * : sets the widths of the images, default 120px. Note the plural, widths
 * : sets the (max) heights of the images.
 * : sets the number of images per row. 0 means automatically adjust based on width of screen
 * : Show the filenames of the images in the individual captions for each image (1.17+)

To see how to use this extension with Extension:BedellPenDragon to generate a CategoryGallery with captions generated from image description files, see Extension:BedellPenDragon.

Code

 * CategoryGallery.php