Hi,
I use the function printLatestUpdatedAlbums to display the last three updated albums on my home page and it worked fine but there are some things that I don't understand about it :
here http://www.zenphoto.org/documentation/plugins/_plugins---image_album_statistics.php.html#functionprintLatestUpdatedAlbums the function is discribed as "Prints the top voted albums". I presume that it's a mistake and that it should be "Prints the last updated albums", isn't it ?
Randomly, one of my subalbums (containing videos) appears in this list even if it wasn't updated at all recently.
I can correct it easily by clicking "refresh metadata for this album" but it will happen again and I don't know how to prevent it.
I've noticed that before refreshing the metadata of the album, the overview panel shows that I have 301 images in the gallery then after the refresh it shows 300 image.
I use this code :
Do you have any idea about it ? I hope that I'm clear.
I use zenphoto version 1.2.6 [4381], image_album_statistics v1.2.6 is on, PHP Version 5.2.8.
Thank you for your help.
Well, it works (or should work) this way in general:
Maybe we could get the albums itself by mtime, I am not sure currently how and when the album mtime value is added. This code has been there for quite a while now. I guess I will have to consult sbillard on that detail.