Plugin Parameters
plugins
string
Adds a plug-in to the viewer.
If you would like to add specific parameters to the plugins via the fsi-viewer tag, you can do this by prefixing the parameter name with the name of the plug-in, e.g. autospin_enabled="true"
FullScreen Plug-In
Adding the parameter plugins:"FullScreen, Resize"
enables a full screen view option in FSI Viewer. The Resize parameter needs to be set in order to ensure proper adjusting to the full screen.
If the FSI Viewer is embedded in an iFrame, the attribute allowfullscreen="true"
needs to be added to the iFrame. Otherwise, the FullScreen Plug-in will not work due to security restrictions of the browser.
Resize Plug-In
By adding the parameter plugins:"Resize"
the plug-in rearranges the user interface according to the size of the object tag without reloading the entire viewer instance and without the need for client side scripting.
MaxZoom Plug-In
available from version 18.06
By adding the parameter plugins:"maxZoom"
expands the user interface by a button to quickly zoom to the physical resolution of the source image.
ZoomMeter Plug-In
available from version 18.06
Adding the parameter plugins:"ZoomMeter"
extends the navigator window with a display of the current magnification.
The following parameters can be set:
zoomMeter
boolean
trueDefault
Enables or disable the text in the navigation window.
zoomMeter_color
rgb hex
Defines the color of the text in the navigation window.
zoomMeter_decimals
integer
2Default
Defines the color of the text in the navigation window.
zoomMeter_srcRelative
boolean
trueDefault
Display percentage relative to the source image dimension (true
) or relative to the initial image (false
).
AutoSpin Plug-In
available from version 16.09.30
Adding the parameter plugins:"AutoSpin"
enables a button which lets you play/pause the animation that is set with the autospinspeed
parameter.
Parameters are listed as the following in the fsi-viewer tag: autoSpin_Speed, mouseModes_MenuOffset, etc.
The following parameters can be set: