NeptuneLabs FSI Viewer JS User Manual page 16

Table of Contents

Advertisement

Using FSI Viewer Configuration Files
<head>
[...]
//adding the fsiviewer.js script
<script src="js/fsiviewer.js"
type="text/javascript"></script>
</head>
<body>
[...]
//Example with using a FSI Viewer configuration file:
<fsi-viewer width="500" height="600"
src="/images/sample.jpg" cfg="sample/sample_configuration">
</fsi-viewer>
Configuration files are structured into configuration groups (XML nodes)
containing parameter names and values. Only parameters in these groups will
be recognized by FSI Viewer. Configuration files do not need to contain all
groups though. Each parameter has to be provided as an individual XML child
node of a group where the node name is the parameter name and the
parameter value needs to be provided as "value" attribute of the node.
Structure of XML configuration files
<fsi_parameter>
<image>
<parameter value="" />
</image>
<plugins>
<parameter value="" />
</plugins>
<options>
<parameter value="" />
</options>
</fsi_parameter>
NeptuneLabs - FSI Viewer
2 FSI Viewer JS
16

Advertisement

Table of Contents
loading

Table of Contents