Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Is there a way to get the total number of images on the site?  (Read 4267 times)

0 Members and 1 Guest are viewing this topic.

Ataru

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Is there a way to get the total number of images on the site?
« 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
Logged

luchtzak

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Luchtzak Aviation
Re: Is there a way to get the total number of images on the site?
« Reply #1 on: December 28, 2007, 12:33:28 pm »

I have this in my code:

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

Hope this helps
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.