Extensions

viewer_size_image

    Provides a means where visitors can select the size of the image on the image page.

    The default size and list of allowed sizes may be set in the plugin options or passed as a parameter to the support functions.

    The user selects a size to view from a radio button list. This size is then saved in a cookie and used as the default for future image viewing.

    Sizes as used for the default size and the allowed size list are strings with the The form is $s=size or $h=heigh; $w=width;.... See printCustomSizedImage() for information about how these values are used.

    If $s is present, the plugin will use printCustomSizedImage() to display the image. Otherwise both $w and $h must be present. Then printCustomSizedImageMaxSpace() is used for displaying the image.

    You must place calls on printUserSizeSelector() and printUserSizeImage() at appropriate places in your theme's image.php to activate these features.

     

    Usage information

    Included in the Zenphoto release.

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


    More by author:

    Related items