ZenphotoCMS Forum
add all thumbnails in all albums in index.php - 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: add all thumbnails in all albums in index.php (/thread-3803.html)



add all thumbnails in all albums in index.php - tiesto - 2008-09-21

hello this is myfirst post. I started using zenphoto and i believe it is one of the best image galleries out there. I D like to perform a minor modification. In the index.php I want in each album to add all the images thumbnails instead of only one random. To do this I copied inside the next album loop the next image loop from the album.php. The problem is that I get the following error

Fatal error: Call to a member function isDynamic() on a non-object in C:\wamp\www\zenphoto\zp-core\template-functions.php on line 339

my code in index.php is




add all thumbnails in all albums in index.php - tiesto - 2008-09-22

anyone please




add all thumbnails in all albums in index.php - edbury - 2008-10-07

I believe we're after the same thing:

http://www.zenphoto.org/support/topic.php?id=3380

or probably

http://www.zenphoto.org/support/topic.php?id=3505




add all thumbnails in all albums in index.php - singlecell - 2008-10-07

i believe this code is pretty close.. (found it deep in the forums)
seems to be a bit slow though -- is there more optimised code for something like this?

`