Random Image for external site

    Developer:

    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).

    This tool has been abandoned by the ZenphotoCMS team or its original developer and we provide it for archival purposes on our "unsuppported-misc" GitHub repository "as is". .

    Info & download (GitHub)

    For questions and comments please use the forum or discuss on the social networks.


    More by author:

    Related items