Gallery stats

I have just installed the latest version of zenphoto. There seems to be a problem with the total number count of images, both in the admin overview section, and the getNumImages function I use in the gallery ( $_zp_gallery->getNumImages(true); ) namely, neither the admin, nor the gallery give the correct number of total images in the gallery. All my albums/images are published, I refreshed the database, pre-cached the albums.

The individual albums show the correct number of images in them, but I can not get the total number of images to display correctly in my gallery unless I traverse (view) every single page in may gallery. Since I have 45 albums and over 2500 images, 25 images per page, this is a bit unpractical. The gallery is local on my PC.

Comments

  • The class-gallery getNumImages() function uses the database for counting its images. If your counts are off, then your database is not matching your file system. Perhaps the refresh database is not cleansing something. But we will need a clue to what is being missed.
Sign In or Register to comment.