Extension:Semantic Gallery

Semantic Gallery is an extension to create dynamic galleries on wikis that use the Semantic MediaWiki extension. The output is the same as when using MediaWiki's built-in   tag.

Download
I'll have to clean up the code a little before I release.

Installation
This extension depends on Semantic MediaWiki because otherwise, what's the point?

Usage
This extension add a 'gallery' output format to SMW inline queries. To generate a simple gallery of all images in the 'Photographs' category, you could use the following:

Semantic Gallery also respects the following parameters (which mean the same as they do when using them with the   tag):
 * perrow: to define how many thumbnails are shown in each row of the gallery,
 * heights: to set the maximum height (in pixels) of the thumbnails, and
 * widths: to set the maximum width of each thumbnail.

Sites that use this extension

 * Hardhoutbeleggingen Wiki - A Dutch-language wiki about hardwood investments.

To-do

 * Support captions that are different than the image page title.
 * Do something intelligent when the inline query has no results.
 * Do something intelligent when the inline query has more results than the "limit" parameter allows.