Random Image for external site


    Put the file in your zenphoto/zp-core/random.php

    To call from another PHP

    The above mean return 9 random images which height and width is 50px and the style class is "one-image".


    this will only get the random images from album "city"(the parameter is the folder of album).

    Please note: This extension or tool has been abandoned either by the Zenphoto team or its original 3rd party developer but we provide it for archival purposes on our "unsuppported" GitHub repository "as is". We generally do not update these extensions (See the circle icon about the status).

    It is not possible to download individual extensions from the GitHub repository. You have to download the full repository (click on "Download ZIP") and sort out what you need yourself.

    Download from the "unsupported" GitHub repository

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

    More by author:

    Related items