![]() |
|
duplicate random image - 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: duplicate random image (/thread-12302.html) |
duplicate random image - ventesites - 2015-09-08 Hi with the function printRandomImages (from specific album) i end up very often with duplicate images, any idea why? Thanks duplicate random image - acrylian - 2015-09-08 Seems that is indeed how it was coded back then. If you request several images it gets each individually without checking. Thus the duplicates. Alternatively you could try the random option of `printImageStatistic()` from the `image_album_statistics` plugin. That works differently internally. duplicate random image - ventesites - 2015-09-08 thanks |