Extension:Coppermine

This extension allows you to display pictures from your Coppermine photo gallery inside of a MediaWiki page.

This extension assumes your Coppermine tables are in the same database as MediaWiki, since it uses MediaWiki's database functions to access the Coppermine tables.

It can display most recent, top viewed, top rated, random and last viewed pictures from the entire site or a specific album.

Pictures are displayed as thumbnails, and can be formated in a simple table or simply output inside the doc.

Usage
Example MediaWiki code:

Code
First, you have to make file called Coppermine.php and upload it into the extensions folder.

';

}

return $output; }

Installation
To install this extension, add the following to LocalSettings.php:

Configuration parameters
Inside of the Coppermine.php file, you need to edit only two variables: