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+)

TODO

 * Implement page metadata and revise this extension so that it can display image descriptions.

Code

 * CategoryGallery.php