Extension:CopperminePhotoGallery

Detailed description
This extension allows you to insert pictures from your Coppermine Photo Gallery (CPG) into a mediawiki page. You can choose all three different sizes created by CPG. If you click on a thumbnails the large image will open in a new window (JavaScript). PHP5 and "mysqli" (see MySQL improved extension) are required.

Installation

 * 1) Download CopperminePhotoGallery.zip
 * 2) Extract it to your directory, e.g. "mediawiki-1.13.x/extensions"
 * 3) Edit your "LocalSettings.php" (see below)

Take a look at Installing an extension before you start. Afterwards you can edit your "LocalSettings.php" and copy the following line at the end

and you can continue with your MySQL settings.

MySQL settings
Your CPG installation should contain a file like inlcude/config.inc.php with all your MySQL settings. Please use these settings in your new extension "cpg.php".

More to come ...

Get help
First of all you can use help to get help. This will display all albums and all pictures, which are stored in your CPG database.

If you have furhter questions, please post them here (discussion).

Usage
To get help and general informations about your CPG, please use help

If your know the path to your album and which pictures you want to show, please use pic1.jpg;pic2.jpg;pic3.jpg

More to come ...

Code
I tried to comment my code. If you have any questions or need more comments on a special line, please let me know.