This setting ('saveZoomPos: false') will always return the image to the initial state after refreshing the page.
|
This setting ('saveZoomPos: true') will always save the last state of the image after refreshing the page (this is also the default).
|
This setting will load the image at the position and zoom level specified in the array variable : 'setZoomPos'.
'setZoomPos' setting array must contain 5 numbers: [zoomLevel, dimensionX, dimensionY, positionX, positionY]. click 'i' key after zooming the image to see this information in the console. |