3 FSI TouchZoom
FSI TouchZoom is an HTML5 and Javascript based tool adding image zoom to touch
enabled devices like Apple iPad ™. When pinch zooming into a website containing single
source images provided by FSI Server, the images will be displayed in the resolution
matching the current magnification.
Supported devices
l
iOS 4 or higher
l
Android 4.x based devices
l
Windows 8 with touch enabled browsers
l
Mac OS with touch device
Usage
To use FSI TouchZoom, make sure the respective images on your website come from
FSI Server and add the following script to the <head> section of your website:
Exanple:
<head>
[…]
<script src="viewer/applications/touchzoom/js/fsitouchzoom.js"
type="text/javascript">
</script>
</head>
It is possible to pass optional parameters via JavaScript. In this case it is crucial to
embed the TouchZoom script before defining the parameters:
Exanple:
<script type="text/javascript
src="/viewer/applications/touchzoom/js/fsitouchzoom.js"></script>
<script type="text/javascript>
$FSI.touchZoomParameters =
{debug:true, useDevicePixelRatio:false};
</script>
3 FSI TouchZoom
NeptuneLabs - FSI Viewer
88