ZenphotoCMS Forum
How to print the thumbnails of the latest images - 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: How to print the thumbnails of the latest images (/thread-13135.html)



How to print the thumbnails of the latest images - Goodfreephotos - 2018-09-14

Hi,
Is there a way to print the latest thumbnails of the latest images.
I've tried using printlatestimages, but when I specify 50 for the length and width, it doesn't seem to work.




How to print the thumbnails of the latest images - Goodfreephotos - 2018-09-14

Basically a printPagedThumbsNav() function but not limited to the specific album.




How to print the thumbnails of the latest images - acrylian - 2018-09-15

I've tried using printlatestimages, but when I specify 50 for the length and width

Not sure I understand. If you use printLatestImages(5) will print the latest 5 images using the default thumb sizes defined for this plugin (85x85). To use a specific custom size you need to set:
printLatestImages(5, '', false, false,true , 50, '', 50, 50, true)
This will will print the latest 5 images with out title, date with a description truncated to 50 without rating/hitcount, as a 50x50 cropped thumb).

If you want to use complete custom output you need to build your own using the getLatestImages() variant which just returns image objects.

If you want a printPagedThumbsNav() for all images of all albums the easiest way is probably to use a dynamic album containing all images. Otherwise some more coding would be necessary.