CpmFetch (Short for Coppermine Fetch) provides an easy way for users to grab images and statistics from an existing Coppermine Photo Gallery. It is being actively supported and developed by me, with a (hopefully) growing number of users providing support and some very helpful insights.
CpmFetch was intentionally designed to not require any modifications to the existing CPG program. This allows you to upgrade CPG without needing to worry about what files you added or what files were modified with various hacks.
My philosophy is to keep it as simple as the user wants it, but to allow it to become as involved and as complicated as someone needs it too. The basic features are enough to enhance your web pages, but you can take it far beyond that. I have a few rules that I use to maintain and enhance this object.
Security and Privacy - Must not create weakness or vulnerabilities
READ-ONLY to the CPG database
Ruthless refactoring of the code for speed
Reuseable in other systems (PHPBB, SMF, Wordpress, etc)
Easily extendable for users into new tasks
Can display random images from the gallery, a category or a specific album |
Can the last added random images from the gallery, a category or a specific album |
Displays the number of images in the gallery or in a single album |
Displays the number of images added since X days ago |
Displays any size image you want |
Links to albums, galleries or actual photos |
Generates formatted statistics |
You can ask for any amount of images in a single call |
Can display the last number added for the gallery, category or album |
Allows you to get a random image via an html image tag |
Can display a list of images added over past x days |
Displays alternate images for other media types (mp3, etc) |
Generates XHTML 1.0 compliant code (most times) |
Respects privacy and unapproved status of images (provides an override) |
SQL injection attack resilient |
Easy to use |
Now with ZERO carbs |
To be honest, I can't keep up with this list... so if something is not here, CpmFetch may just do it. You never know.