Member
Member
ventesites   2015-09-08, 17:05
#1

Hi

with the function printRandomImages (from specific album) i end up very often with duplicate images, any idea why?

Thanks

Administrator
Administrator
acrylian   2015-09-08, 19:11
#2

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.

Member
Member
ventesites   2015-09-08, 21:41
#3

thanks

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.