Using cpmFetch 1.4

William B. Chmura

1.6.00

Abstract

CpmFetch is an accessory program for the Coppermine Photo Gallery system that allows you to easily access gallery contents and information without modifying the original CPG code at all. This can be done via HTML, PHP, HTTP or SSI calls.


Table of Contents

1. Introduction
Features of CpmFetch
Skills needed to use CpmFetch
What are all these programs?
2. Requirements
3. CpmFetch Support Options
4. Installation
Where to get CpmFetch
Testing the installation
Quickstart CpmFetch Usage
5. Basic Usage of CpmFetch
Starting and Stopping CpmFetch
Selecting specific albums and categories
6. Using the OptionsArray
Types of options for the options array
Option Array appearance entries
Option Array information display entries
Option Array control entries
7. Functions
What are functions
Functions that control CpmFetch
Functions that return images or image data
Functions that return textual statistics
Functions that return gallery level images
Functions that are depreciated
8. Extending CpmFetch
9. cfimageget
What is CFIMAGEGET
What good is this then?
Using CFImageGet directly
A newer cleaner way - extend CFImageGet.php
But I can only get one image?
10. cfrssget
What is CFRSSGET
11. Using CpmFetch in HTML page using SSI
Manually using CpmFetch via SSI
12. Embedding CpmFetch in portals, forums, etc...
What content management programs has this been know to work with?
SMF Forums
13. Frequently Asked Questions
14. Release Notes... Just to prove I've been busy
Dev version 1.5.0 thru Stable 1.6.0 (when its done)
Dev version 1.3.0 thru Stable 1.4.1
Dev version 1.1.0 thru Stable 1.2.1
Initial dev version thru Stable 1.0
15. Special Thanks

List of Examples

4.1. The cftest.php file
4.2. Example of using CpmFetch
5.1. Starting CpmFetch
5.2. Closing CpmFetch
5.3. Source string examples
6.1. Example of creating the option array
6.2. Examples of using the format string
7.1. Examples of the setDateFormat format
11.1. Example of code to use in an SSI file
11.2. Example of Apache SSI Include statement
12.1. Embedding in SMF forums