ZenphotoCMS Forum
v1.4.7 printLatestImagesByDate doesn't process sub-albums - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: v1.4.7 printLatestImagesByDate doesn't process sub-albums (/thread-11941.html)



v1.4.7 printLatestImagesByDate doesn't process sub-albums - MarkRH - 2015-02-13

I use the printLatestImagesByDate function to print the latest 3 images for an album and its subalbums. This stopped working after going to 1.4.7. I am using the following function call:

printLatestImagesByDate(3, $_zp_current_album->name, false, false, false, 40, "hitcounter", NULL, NULL, NULL, true);

I thought making $collection true would make it work.

I replaced [b]image_album_statistics.php[/b] with the one from version 1.4.6 and it started working again on my local copy

For example, on this page: http://gallery.mysstie.com/eq2/ no images are shown here.




v1.4.7 printLatestImagesByDate doesn't process sub-albums - acrylian - 2015-02-13

Yes, sadly with recent changes the "collection" mode got lost somehow. This should be fixed in the master/support build already. Normally we don't recommend but you can use just the plugin file from there.




v1.4.7 printLatestImagesByDate doesn't process sub-albums - MarkRH - 2015-02-13

I grabbed that one file from the support build and it seems to be working again now.

BTW, really like the single image edit now.

Thanks,
Mark H