Skip to main content

General Parameters

debug

boolean

debug and status information in the browser console
since 17.10

false
Default

The debug mode can be enabled or disabled by passing the debug parameter either in the code snip or in an XML configuration file. Please use debug=1 or debug=true to enable the debug mode and debug=0 (or omit the debug parameter) to disable the debug mode. To disable the debug mode permanently, you can safely delete the /debug directory of your FSI setup directory.

headers

string

&headers= parameter to use for image requests
since 17.10

cors
Default

The default value cors ensures cors compatibility for cross-origin scenarios.

cfg

string

XML configuration file
since 17.10

Defines the relative path to an XML configuration file in FSI Viewer format. When using a relative path the location specified by the FSI Viewer FSIBase parameter will be used, which is viewer/config/ by default.

format

string

format used for the viewer
since 19.11

auto
Default

Default is auto which automatically chooses the best format depending on the browser; alternatively you can choose WEBP, JPEG, PNG or GIF. Auto delivers the images adaptively as WEBP in supporting browsers, and switches to PNG or JPEG on browsers not supporting the format. If you would like to use WEBP, the best way would be to set auto as the format.

autoInit

boolean

Prevents automatic initialisation
since 23.08

true
Default

Prevents automatic initialisation when the instance has been attached to the DOM. Helpful e.g. when working with React.

string

Width of the nav window
since 17.10

120
Default

Defines the width of the navigation frame displayed in the right corner on the bottom.

string

Height of the nav window
since 17.10

120
Default

Defines the height of the navigation frame displayed in the right corner on the bottom.

urlLoadingAnimation

string

Location of loading animation
since 17.10

/skins/resources/loading.svg
Default

Custom animations can be placed here: /skins/resources/. Setting the parameter to false discards the display.

invisibleLoadingPurposes

string

Defines if the loading animation is invisible
since 18.01

Per default, it is activated whenever the viewer loads images. Setting the parameter to asyncResize omits the loading animation when asynchronous loading takes place, e.g. when the viewer is switched to FullScreen and the higher resolution images need to be loaded. tile omits the presence of the loading animation when tiles are loaded, e.g. when the user zooms into the picture. It is also possible to combine both as tile,asyncResize - in this case the loading animation is only shown in the initial loading sequence.

skin

string

Defines skin
since 17.10

black
Default

FSI Viewer comes with three default skins, black, white and silver.

Skins are defined via CSS and can be found here: /fsi/viewer/skins.

It is also possible to alter existing skins or to define custom skins in this location.

In order to use a custom skin, the easiest way would be to duplicate one of the default skin CSS files and adapt them to your liking. Make sure to use a custom class in front af ALL classes defined in the custom CSS, otherwise you will break other skins on the same HTML document.

To see an example file, please go to the Example File in the Appendix.

General appearance CSS rules, which are valid on an overall level, (e.g. the logo container, height of the menubar, etc.) are defined in the corresponding core CSS files, which can be found in /fsi/viewer/skins/resources. (fsi-core.css, fsi-viewer-core.css)

IMPORTANT:

Never change the classes of the core CSS in the core files directly. If you would like to adapt the CSS rules listed there, please overwrite them in a custom skin file or in the HTML document instead.

You can find detailed tutorials for changing the appearance of the skin in the support section of our website:

For a detailed example of a basic custom skin, please go to Example of a custom skin CSS file.

src

string

Single image path.
since 17.10

info
Default

Defines the path to single images used for FSI Viewer.

dir

(*)

string

The path to the source images of the spin
(* Only available in FSI Viewer 360°)
since 17.10

The viewer will load the list of images from the given directory.

imagesources

string

Defines the paths to single images used for FSI Viewer
since 17.10

Example: dir1/1.jpeg, dir1/2.jpeg, dir2/1.jpeg,...

language

string

Defines the language of the tooltips
since 17.10

The language parameter can be used to adapt the tooltips which are shown while hovering over a button to a certain language. The available languages can be found in the \languages folder of your FSI Viewer installation. (See Using Custom Language Files for more info).

It is also possible to map the available language files to the language of the browser (the file mapping.json in the \languages folder of your FSI Viewer installation can be adapted to your liking for that). In order to use the mapping defined in the JSON file, the parameter language needs to be set to auto.

effects

string

Image manipulation parameters for all images
since 17.10

The effects parameter can be used to pass image manipulation parameters to the imaging server. Typical manipulation parameters include the image saturation (saturation) and image sharpening (sharpen). If no effect is specified, the default settings of the server (profile) apply.

In contrast to all other parameters, defining the parameter effect adds(!) the string to the existing effects parameter. E.g. if your configuration file contains: <effects value="blur(10)" /> and you add to your fsi-viewer tag effects="sepia()", the resulting effects parameter value is: blur(10),sepia().

If you want to overwrite existing effects values, you can start the effects parameter with ClearEffects().

In the example above, if you add effects="ClearEffects(),sepia()" to your fsi-viewer tag, the resulting effects parameter value is sepia() only.

Please note:

ClearEffects() must be written exactly like this and must be at the start of the effects parameter value.

initialView

string

defines the initial image segment
since 17.10

1,1,0,0,1,1
Default

Image section (and rotation) to display on startup.

The first two parameters are required as they specify the scene set and the scene. For 2D images both values default to 1.

The other parameters are optional and specify the image segment with Left, Top, Right, Bottom.

initialViewPersistent

boolean

Keep the InitialView as default view
since 17.10

false
Default

If this parameter is activated, clicking the Reset button will display the image section defined by the InitialView parameter instead of the entire image. If this parameter is set to false, the initial view will be displayed on startup, but pressing the Reset button will reset the view to the entire image.

panLimits

string

determines how far the user is allowed to pan
since 17.10

loose | medium | strict
Values

Determines how far the user is allowed to pan.

easingZoom

string

determines the easing function for zoom and pan.
since 19.03

easeOutCubic | easeLinear | easeOutBounce | easeOutQuint
Values

Determines the easing function for zoom and pan. Possible settings are:

  • easeOutCubic: end motion slowly
  • easeLinear: no easing, linear motion
  • easeOutBounce: end motion bouncing
  • easeOutQuint: end motion faster

easingSpin

(*)

string

determines the easing function for object spins.
(* Only available in FSI Viewer 360°)
since 19.03

easeOutCubic | easeLinear | easeOutBounce | easeOutQuint
Values

Determines the easing function for object spins. Possible settings are:

  • easeOutCubic: end motion slowly
  • easeLinear: no easing, linear motion
  • easeOutBounce: end motion bouncing
  • easeOutQuint: end motion faster

preventImageTransparency

boolean

prevents the image transparency
since 17.10

false
Default

Prevents using the image transparency if a transparency channel exists.

useDevicePixelRatio

boolean

using device's pixel ratio
since 17.10

true
Default

Use the device's pixel ratio to automatically display even sharper images.

drawCube

(*)

boolean

draws a 3D cube
(* Only available in FSI Viewer 360°)
since 17.10

false
Default

Draws a 3D cube wireframe representing the object space of the spin as defined by the virtualSpace parameters.

The drawCube option can be useful to validate the virtualSpace parameters.

Please note:

This option only works on desktop computers using the HTML canvas element.

drawTable

(*)

boolean

draws a virtual rotating table plate
(* Only available in FSI Viewer 360°)
since 17.10

false
Default

Draws a virtual rotating table plate.

Please note:

This option only works on desktop computers using the HTML canvas element.

tableDiameter

(*)

float

defines diameter of virtual rotating table plate
(* Only available in FSI Viewer 360°)
since 17.10

false
Default

Defines the diameter of the virtual rotating table plate in mm.

Please note:

This option only works on desktop computers using the HTML canvas element.

drawGroundPlate

boolean

Draws ground plate
since 17.10

false
Default

Draws a virtual ground plate.

Please note:

This option only works on desktop computers using the HTML canvas element.

initialMouseMode

enum

Mouse mode on startup
since 17.10

auto | 0 | 1 | 2
Values

Specifies the selected mouse mode on startup.

Possible ValuesMouse Mode
0:(Zoom)
1:(Pan)
2:(Spin 360°)

string

defines the button order of the menu bar buttons
since 17.10

Reset | ZoomOut | ZoomIn | MouseMode_0 | MouseMode_1 | MouseMode_2 | MaxZoom | HotSpots | ToggleAutoSpin | ToggleFullScreen
Values

Defines the button order of the menu bar buttons. The buttons need to be listed in a string with the corresponding button IDs.

autoDestroy

boolean

automatically destroy instances
since 17.10

true
Default

Automatically destroy instances created with the fsi-viewer tag upon removing the tag from the document DOM.

demoURL

string

URL which opens onClick
since 18.05

URL | no action | enter fullscreen
Values

The URL to the website that should be opened while clicking on the demo thumbnail.

  • no action: the click will do nothing at all
  • enter fullscreen: enter fullscreen and exit demo mode, returns into demo mode after leaving fullscreen mode

demoURLTarget

string

Target for demoURL
since 18.05

_self
Default

The target frame for DemoURL to open in. You can use default frame names like _self or _blank or use a custom frame of your HTML frame set.

hideUIInDemoMode

boolean

Hide UI elements
since 18.05

true
Default

Hide UI elements (menu bar and alike) in demo mode.

demoToolTip

string

Tool tip
since 18.05

Tool tip to show when in demo mode.

Example for custom HTML:
<DemoToolTip>
<b>Demo Mode</b><br/>
Click to view image in full screen mode
</DemoToolTip>

spinDirectionImage

(*)

string

defines direction of rotation
(* Only available in FSI Viewer 360°)
since 17.10

left
Default

Specifies the direction of the spin rotation.Specifies the direction of the spin rotation.

sceneSets

(*)

string

Scene sequence definition
(* Only available in FSI Viewer 360°)
since 17.10

1 – n tiles
Default

Using this parameter you can define scene sets for 360° views. Scene sets define the order of scenes to be displayed.

The default is a single scene set containing all scenes (image tiles) from scene 1 to the last scene image. The default sequence is left to right, top to bottom in a tile image and the sequence of the image nodes for 360° views based on individual source images.

In the viewer scenes can be selected by moving the mouse horizontally and scene sets can be selected by moving the mouse vertically.

Syntax:

Individual sets have to be separated with ";" (semicolon).

Scenes within the sets are separated with "," (comma) and specify the 1-based index of the image from left to right, top to bottom up to the total number of scenes

(TilesX x TilesY or individual source images).

Instead of individual scenes you can also specify scene ranges, e.g. 5-10.

If you leave out the start or the end of a scene range, 1 or respectively the last scene will be assumed in this case. If you specify a range using "->" the scenes from the first number to the last scene image plus the first scene image up to the second number will be assumed.

Example
SceneSets="1-12;13-24;25-36;37-48"

reverseSceneSets

(*)

boolean

reverses the Scene Sets
(* Only available in FSI Viewer 360°)
since 17.10

false
Default

Reverses the order of the Scene Sets.

noSetLoop

(*)

boolean

No 360° rotation around the y-axis
(* Only available in FSI Viewer 360°)
since 17.10

false
Default

The first and the last scene set will be considered ending points. (E.g. for partial rotations < 360°).

Please note:

The blur animation is turned off if NoSetLoop is activated.

noSceneLoop

(*)

boolean

No 360° rotation around the x-axis
(* Only available in FSI Viewer 360°)
since 17.10

false
Default

The first and last scene in each scene set will be considered ending points. (E.g. for partial rotations < 360°).

Please note:

The blur animation is turned off if NoSceneLoop is activated.

imageListLimit

(*)

string

limits the image list to a certain amount of images
(* Only available in FSI Viewer 360°)
since 18.07

Limits the image list to a certain amount of images within the directory. The parameter is used like this: 0,10 - the first value defines the starting image, the second the amount of images displayed. In this case it would start at the first image and show the first ten images. 5,5 would start the list with the fifth image and shows the fifth image plus the four images that are listed behind it.

imageListSort

(*)

string

sorts the image list
(* Only available in FSI Viewer 360°)
since 19.02

filename | width | height | lastmodified | resolution | importstatus
Values

Sorts the image list with any valid sort item name for FSI Server.

imageListSortOrder

(*)

string

defines the order of the image list sorting
(* Only available in FSI Viewer 360°)
since 19.02

asc | desc
Values

Defines the order of the image list sorting. Possible values: asc (Ascending) or desc (Descending).

listFilterPositive

(*)

string

filters the image list using RegEx, includes matching images
(* Only available in FSI Viewer 360°)
since 18.07

Filters the image list to a certain amount of images within the directory using RegEx. If images match the Regular Expression, they will be included in the image list. If both ListFilterPositive and ListFilterNegative are used, ListFilterPositive is always used first. The filter will be applied before any other parameter is applied, i.e. if SceneSets is set, it only applies to the already filtered list.

Example: ListFilterPositive="/8.TIF$/i"

listFilterNegative

(*)

string

filters the image list using RegEx, excludes matching images
(* Only available in FSI Viewer 360°)
since 18.07

Filters the image list to a certain amount of images within the directory using RegEx. If images match the Regular Expression, they will be excluded of the image list. If both ListFilterPositive and ListFilterNegative are used, ListFilterPositive is always used first. The filter will be applied before any other parameter is applied, i.e. if SceneSets is set, it only applies to the already filtered list.

Example: ListFilterNegative="/8.TIF$/i"