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:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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