2 FSI Viewer JS
19
NeptuneLabs - FSI Viewer
Usually you don‘t need to create a configuration file for individual images, as you
can specify the image path or other unique parameters dynamically in the code.
2.4.3 Retrieving Parameters from FSI Server
FSI Viewer JS is capable of retrieving image specific parameters from FSI Server
dynamically. This way you do not need to define these parameters explicitly.
The list below shows some typical parameters that can be retrieved from FSI
Server automatically:
l
ImageWidth
l
ImageHeight
l
ImageTilesX
l
ImageTilesY
l
SceneSets
l
Image Collections
l
Hyperlinks
l
Hotspots
In which case will these values be retrieved automatically?
FSI ViewerJS tries to retrieve the parameters ImageWidth and ImageHeight
from the server if one of these values has not been defined manually. If the
server delivers additional parameters (e.g. ImageTilesX, ImageTilesY) these
parameters will only have an effect if they have not been defined manually.
2.4.4 Using Custom Language Files
In case you want to edit tool tips for existing languages or add support for
additional languages you can edit or create language files in the subdirectory
"/languages" of your FSI Viewer setup directory.
Each language file contains a list of phrases used in FSI Viewer JS user
interface.The language files are XML files and need to be saved in UTF-8 format.
The attribute "id" specifies the context of each phrase. Please note that you
need to use XML entities for characters not allowed in XML files, like e.g.
&
for "&"
<
for "<"
>
for ">"
"
for "
'
for ‚
You can use basic HTML-tags to apply text formatting to the tool tips.