Extension:MiniPreview

MiniPreview extension displays small previews of other images in the same categories or displayed on the same pages next to an image.

Installation
To install this extension, download the source from SVN and add the following to LocalSettings.php:

Configuration parameters

 * $wgMiniPreviewEnabled &mdash; Main switch. Defaults to true.
 * $wgMiniPreviewExtPath &mdash; Path to the extension files. Defaults to'/extensions/MiniPreview'.
 * $wgMiniPreviewShowCategories &mdash; Look for images in the same categories. Defaults to true.
 * $wgMiniPreviewShowGalleries &mdash; Look for images in the same galleries (Galleries = Main namespace pages on commons). Defaults to true.
 * $wgMiniPreviewGalleryNamespace &mdash; Default : Main namespace (for commons)
 * $wgMiniPreviewThumbnailSize &mdash; Last/next thumbnails will be $wgMiniPreviewThumbnailSize pixel squared. Defaults to 75.
 * $wgMiniPreviewMaxCategories &mdash; Maximum number of categories shown. Defaults to 10.
 * $wgMiniPreviewMaxGalleries &mdash; Maximum number of galleries shown. Defaults to 10.
 * $wgMiniPreviewMaxTotal &mdash; Maximum number of categories and galleries shown. Defaults to 15.