Coppermine Plugin
The Coppermine Photogallery plugin is an experimental plugin which enables you to link the individuals in Retrospect-GDS to photos in a Coppermine Photogallery. You should have already installed Coppermine and the server hosting Retrospect-GDS needs access to the mysql database of your coppermine photogallery installation. This plugin has been tested on Coppermine 1.3.2 and is also working on 1.4.8. If you need additional information on Coppermine visit http://coppermine.sourceforge.net
To begin, you will need some information about your Coppermine installation:
1. Host - usually localhost but some isp’s (including Godaddy) use specific ip addresses.
2. Port - this is the database port and can usually be left blank.
3. name - the name of the coppermine database.
4. username - the username used to log into the coppermine database.
5. password - the password for the above username
6. pictures table - this is the name of the coppermine pictures table and is different from version to version
7. search url - the url of the coppermine file called thumbnails.php
So where do you get this information?
If you have ftp access to your coppermine installation, there is a file called config.inc.php that can be found in the coppermine/include/ directory of your installation. This file will provide you with items 1, 3, 4, and 5 above. If not, you will have to contact your hosting provider for this information
Item 6., the pictures table information can be found in your mysql database. If you have access to it thru phpmyadmin or other administrator, you can view the listing of tables. It is possible to ‘guess’ the table as well. if your config.inc.php has a table_prefix entry, try adding that to ‘pictures’. so if your config.inc.php looks like this:
$CONFIG['TABLE_PREFIX'] = ‘cpg_143′;
try setting the pictures variable like this:
var $cpg_pictures_tbl = ‘cpg_143pictures’;
Item 7., the search url is the location of the thumbnails.php file in your coppermine installation. If you Coppermine installation is in http://www.mysite.com/coppermine/ then the thumbnails should be found in the coppermine directory and you would enter the following into the $cpg_search_url variable so it would look like this:
var $cpg_search_url = ‘http://mysite.com/coppermine/thumbnails.php’;
Make the necessary changes to coppermine.php then save and close the file. Upload the changed file to the core/plugins directory of your Retrospect-GDS installation.
Once you have completed the above, login to Retrospect-GDS, go to the global configurations window, and on the Gallery Plugin tab, change the Plugin option from none to ‘coppermine’
Linking to Coppermine
in Progress