Extension:User Image Gallery

MediaWiki extensions manual
OOjs UI icon advanced.svg
User Image Gallery
Release status: unmaintained
Implementation Tag , User activity
Description Adds <userimages> tag to generate image galleries of user uploads
Author(s) Rob Church
Latest version 1.0 (2006-12-17)
MediaWiki 1.9.0+
License No license specified
Download from Subversion
Translate the User Image Gallery extension if it is available at translatewiki.net
Check usage and version matrix.

The User Image Gallery extension introduces a <userimages> tag to the MediaWiki markup, which can be used to produce an image gallery of all recent uploads by a particular user, up to a specified limit.


The User Image Gallery extension requires MediaWiki 1.9.0 or greater.


  1. Check out all extension files from Subversion and place them in a UserImages subdirectory within your MediaWiki extensions directory
  2. Add the line require_once( "{$IP}/extensions/UserImages/UserImages.php" ); to your LocalSettings.php file

Installation can be verified through the Special:Version page on the wiki.


To embed a user image gallery into a page, use the <userimages> tag. This accepts three attributes, of which the user attribute is required:

Attribute Purpose Default
user User for whom uploads will be shown (none)
caption Caption for the image gallery Images uploaded by USERNAME
limit Maximum number of images to be shown 10 (absolute maximum of 50 enforced)


<userimages user="Fred" />
<userimages user="Barney" limit="12" />
<userimages user="Wilma" limit="4" caption="Wilma's latest photos" />


By default, the output is subject to normal parser output caching. To disable this on pages which use the tag, set $wgUserImagesNoCache = true; in LocalSettings.php.