NeptuneLabs FSI Viewer JS User Manual page 91

Table of Contents

Advertisement

3 FSI TouchZoom
debug
Description
Syntax
Default
Context
Display debug and status information in the browser's javascript console.
useDevicePixelRatio
Description
Syntax
Default
Context
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
Syntax
Default
Context
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).
91
displays debug & status information in the javascript
console.
Boolean
false
FSI TouchZoom
Use the device's pixel ratio to display even sharper images.
Boolean
true
FSI TouchZoom
The script monitors the position of all single source <img>
tags
Boolean
true
FSI TouchZoom
NeptuneLabs - FSI Viewer

Advertisement

Table of Contents
loading

Table of Contents