Random Image for external site Nov 13, 2009 / Updated: Aug 01, 2020
Put the file in your zenphoto/zp-core/random.php
To call from another PHP
@readfile('http://yourgallery.com/zenphoto/zp-core/random.php?
num=9&height=50&width=50&class=one-image')
The above mean return 9 random images which height and width is 50px and the style class is "one-image".
@readfile('http://yourgallery.com/zenphoto/zp-core/random.php?
num=9&height=50&width=50&class=one-image&album=city')
this will only get the random images from album "city"(the parameter is the folder of album).
For questions and comments please use the forum or discuss on the social networks.