3 FSI TouchZoom
91
NeptuneLabs - FSI Viewer
debug
Description
displays debug & status information in the javascript
console.
Syntax
Boolean
Default
false
Context
FSI TouchZoom
Display debug and status information in the browser's javascript console.
useDevicePixelRatio
Description
Use the device's pixel ratio to display even sharper images.
Syntax
Boolean
Default
true
Context
FSI TouchZoom
Use the device's pixel ratio to display even sharper images. For devices with a pixel
ratio >1 (e.g. Apple iPad 3) the images will be displayed in higher resolutions. If the
aspect ratio is 2, the images loaded when pinching a page will be 2 x the resolution
compared to devices with a pixel aspect ratio of 1.
monitorPositions
Description
The script monitors the position of all single source <img>
tags
Syntax
Boolean
Default
true
Context
FSI TouchZoom
By default the script monitors the position of all single source <img> tags to ensure
that a higher resolution image will be loaded if the image is within the viewport. For
huge amounts of images on a single web page you might want to disable this
feature, if the positions of the images do not change (e.g. there is no javascript
modifying the DOM tree).