Is there a way to get the total number of images on the site? Is there a way to get the total number of images on the site?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Is there a way to get the total number of images on the site?

Started by Ataru, November 12, 2007, 02:28:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ataru

I've looked through all of the documentation and read the entire website.  I just don't know how to do this.  Can anyone tell me how I can get Cpmfetch to display the total number of images uploaded to my entire website?  All albums are public.  I just want a number.
My site:  www.creaturefeature.info
I want to add it to the "Site Stats" table.
Thanks!   ;D

luchtzak

I have this in my code:

$objCpm->cpm_formatStats("Total pictures <b>%f</b> &bull; Total albums <b>%a</b> &bull; Total views <b>%v</b>");


Hope this helps