coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: Ataru on November 12, 2007, 02:28:00 AM

Title: Is there a way to get the total number of images on the site?
Post by: Ataru on November 12, 2007, 02:28:00 AM
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
Title: Re: Is there a way to get the total number of images on the site?
Post by: luchtzak on December 28, 2007, 12:33:28 PM
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