The Gallery pic count is off

The gallery data says that there are 21 pictures, but I've only uploaded 14 pics. You can see it here:

Can anyone point me in the right direction to getting an accurate pic count?


  • trisweb Administrator
    The counts are lazy, so they're only updated when you add new pictures or manually delete them through the admin screen; otherwise, keeping it up to date makes things very slow.

    If you're using the latest version, there should be a little "refresh" link on the front page of the control panel.
  • I got that working by manually removing the "garbage", but my delete function error's out in the admin page. The error is below. Any ideas?

    Warning: unlink(/usr/local/pem/vhosts/17993/webspace/httpdocs/test/images/zenphoto/albums/Christmas/DSC01157.jpg): Permission denied in /usr/local/pem/vhosts/17993/webspace/httpdocs/test/images/zenphoto/zen/classes.php on line 124 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/pem/vhosts/17993/webspace/httpdocs/test/images/zenphoto/zen/classes.php:124) in /usr/local/pem/vhosts/17993/webspace/httpdocs/test/images/zenphoto/zen/admin.php on line 81
  • i'm using the latest version and have 30 pictures in my gallery, its reporting 111 even after hitting the refresh button. i've cleared cache and such before as well. i shouldn't have 111 even with the cached thumbnails though. :confused:
  • trisweb Administrator
    Okay, seriously, the count is just a number, it doesn't reflect anything real. We'll work out the bugs in how it counts later. Don't worry about it.
  • sorry chief, i was just trying to help because i thought a bug or something might need to be isolated. i don't use the count ever anyhow. :)
  • trisweb Administrator
    Thanks :) I was just getting annoyed.
Sign In or Register to comment.