viewer_size_image Nov 14, 2009 / Updated: Jan 19, 2015
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.
This extension is officially supported but not included in the ZenphotoCMS release.