CONSTRAIN PAN EXAMPLE - NONE, LOOSE, RELAXED, STRICT


To test the pan constraint feature simply click-drag and attempt to move the image off center, or, if zoomed in, out of view. The feature limits whether and how the image is held in view.

The pan constrint feature can be adjusted using the HTML parameter zConstrainPan ('0'=false, '1'=loose (constrain image center to viewport edge), '2'=relaxed (default, constrain trailing edge to viewport center), '3'=strict (constrain trailing edge of image to far edge of display and center image when zoomed-out).

Web developers can use the Zoomify Image Viewer JavaScript functions setConstrainPan(value) to control the effect. See the Zoomify Function List in the Developer Resources folder for details.