Skip to main content

Parameter List

let align;

debug

boolean

Display debug and status information in the browser console
since 17.11

false
Default

Display debug and status information in the browser's JavaScript console

headers

string

&headers= parameter to use for image requests
since 17.11

cors
Default

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

cfg

string

relative path to an XML configuration file in FSI Viewer format
since 17.11

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

Defines the 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.

dir

string

The path to the source image folder on FSI Server to display
since 17.11

The path to the source image folder on FSI Server to display.

imagesources

string

paths to single images used for FSI ThumbBar
since 19.11

Defines the paths to single images used for FSI ThumbBar. Example: dir1/1.jpeg, dir1/2.jpeg, dir2/1.jpeg,...

autoInit

boolean

Prevents automatic initialisation when the instance has been attached to the DOM
since 23.08

true
Default

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

imageListLimit

string

Name
since 18.06

info
Default

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
since 19.02

filename
Default

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

  • filename (default)
  • width
  • height
  • lastmodified
  • resolution>
  • importstatus

imageListSortOrder

string

defines the order of the image list sorting
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
since 18.06

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. all other parameters only apply to the already filtered list.

Example: ListFilterPositive="/\/09\d*.tif/i"

ListFilterNegative

string

filters the image list using RegEx, includes matching images
since 18.06

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 from 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. all other parameters only apply to the already filtered list.

Example: ListFilterNegative="/\/09\d*.tif/i"

renderer

string

parameter to use for image requests
since 18.06

The renderer parameter to use for image requests (e.g. jpeg)

overlays

string

parameter to use for image requests
since 17.11

The overlays parameter to use for image requests.

quality

integer

parameter for JPEG quality level
since 17.11

info
Default

JPEG quality level when retrieving JPEG images from the server

effects

string

Optional FSI Server effects to use for all images
since 17.11

Optional FSI Server effects to use for all images.

Example: effects:"Sepia()"

In contrast to all other parameters, defining the parameter effects adds(!) the string to the existing effects parameter.

E.g. if your configuration file contains:

Example:
<effects value="blur(10)" />

and you add to your ThumbBar 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 ThumbBar 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.

Please refer to your FSI Server documentation for a list of available effect parameters.

cropValues

string

Defines the amount that should be cut off the image
since 17.11

Defines the amount that should be cut off the image from each side. Values can be provided as pixel (e.g. 20px) or percent (e.g. 10%) or floating point numbers (e.g. 0.25). Use 4 values for left, top, right, bottom. Example: 10%,0,10%,0

cropRect

string

Defines a crop rectangle
since 17.11

Defines the amount that should be cut off the image from each side. Values can be provided as pixel (e.g. 20px") or percent (e.g. 10%) or floating point numbers (e.g. 0.25). Use 4 values for left, top, right, bottom.

info

You cannot use CropRect AND CropValues parameters at the same time. If you use both, CropRect will be ignored.

thumbLabel

string

optional HTML or metadata templates
since 17.11

String or HTML code with optional templates to display below all thumbnails. Learn more about metadata in the tutorial How to add metadata to images.

Example:
###iptc.Headline### <br/>
###iptc.Caption### <br/><br/>
###iptc.Credit###

elementWidth

string

The maximum width of images in the slideshow
since 17.11

10 px
Default

The maximum width of images in the slideshow. The value can be provided in pixels or in percent of the instance width.

minelementWidth

integer

The minimum width of images in the slideshow
since 18.09

24
Default

The minimum width of images in the slideshow. The value can be provided in pixels or in percent of the instance width.

elementSpacing

string

Spacing between the images in pixel
since 17.10

0.25 %
Default

Spacing between the images in pixel. The spacing needs to be either stated in pixels or in percent of the instance width.

Note:

If the resulting image height limits the image dimension, there is a spacing even if you define elementSpacing with a value of 0. In this case you either need to:

a) Increase the container <div> element height

b) Decrease the value of the elementWidth parameter

minelementSpacing

integer

Minimum spacing between the images in pixel
since 18.09

0
Default

Minimum spacing between the images in pixel. The spacing needs to be either stated in pixels or in percent of the instance width.

autoElementSpacing

boolean

adjusts the spacing automatically
since 18.09

true
Default

If set to true and all thumbnails fit into view and there is more than one thumbnail, the elementSpacing will be adjusted so that the first thumbnail is left aligned and the last thumbnail is right aligned, with even spacing between the rest of the thumbnails.

containerAlignment

string

alignment of the image container
since 19.10

center
Default

Defines the alignment of the image container if there are less images than fitting into the element.

Only applicable to presentationType="flat" and if autoElementSpacing="false". Default is left. You can either set center or 0.5 to center the image container, or set a number between 0-1 for more specific alignment.

paddingTop

integer

Top padding in pixel
since 17.11

10
Default

Top padding in pixel.

paddingBottom

integer

Bottom padding in pixel
since 17.11

0
Default

Bottom padding in pixel.

autoResize

string

DOM resize
since 17.11

true
Default

Defines if instance is resized when the DOM element is resized.

initialImage

integer

image index focus on start
since 17.11

0
Default

Defines the image index to focus on start.

vertical

boolean

defines how the thumb bar is displayed
since 17.11

false
Default

Defines if the thumb bar is displayed horizontally (default) or vertically.

presentationType

string

image presentation type
since 17.10

flat | stacks | outerRing | innerRing | custom
Values

Selects the overall image presentation appearance in FSI ThumbBar. For custom, see chapter Using custom presentation type to learn more.

enableZoom

boolean

Enable or disable zoom
since 17.11

true
Default

When zooming an image, FSI ThumbBar adds a <div> element to the document body, holding the zoomed image.

useTouchZoom

boolean

Uses FSI TouchZoom on thumbnail images
since 17.11

true
Default

Uses FSI TouchZoom on thumbnail images and requires adding the FSI TouchZoom script to the document.

zoomMargin

integer

Sets margin around the zoom div
since 18.09

40
Default

Defines the margin around the zoom <div> (when not using FSI Viewer).

scrollBar

boolean

enable or disable scroll bar
since 17.11

true
Default

This value enables or disables the scroll bar.

centerZoomedImage

boolean

centers zoom image
since 17.11

true
Default

Moves the currently zoomed image to the center of the bar.

Alignment

float

Alignment of the thumbnails
since 17.11

1.0
Default

Alignment of the thumbnails (vertical alignment if horizontal thumb bar and vice versa).

Usually, the alignment is done via CSS.

To use CSS, please set the Alignment parameter to false and use these CSS classes:

Example:
// for horizontal alignment
fsi-thumbbar .fsi-thumbbar-container .fsi-thumbbar-thumbnail {
text-align: center;
}

// for vertical alignment
fsi-thumbbar .fsi-thumbbar-container .fsi-thumbbar-thumbnail > img {
vertical-align: top;
}

Alternatively, you can still use the alignment parameter.

Alignment of the thumbnails (vertical alignment if horizontal thumb bar and vice versa):

  • 1.0: align at bottom (or right)
  • 1.0: align at bottom (or right)
  • 0.5: center images
  • 0.0: align at top (left)
  • ...or any value in between

endlessScrolling

boolean

defines if endless scroll is activated
since 17.11

false
Default

Defines if the endless scroll is activated and duplicates images if required.

preloadCount

integer

number of images to pre-load
since 17.11

40
Default

The number of images to pre-load although they are currently not visible.

Disabling preload (set value to 0) will only load images visible on stage.

autoRotateSpeed

float

Auto scroll on start
since 17.11

0
Default

Auto scroll on start; use positive or negative values to specify the direction. Auto-rotation stops as soon as the user interacts with the bar.

depthFadeout

boolean

Darkens images that are further away in z-direction
since 17.11

true
Default

Darkens images that are further away in z-direction (for 3D presentation types).

zoomShaderStartOpacity

float

The start opacity of the shader when zooming an image
since 17.11

0
Default

The start opacity (0 to 100) of the shader when zooming an image. See CSS Classes for more options like color.

zoomShaderEndOpacity

float

The end opacity of the shader when zooming an image
since 17.10

0
Default

The end opacity (0 to 100) of the shader when zooming an image. See CSS Classes for more options like color.

autoDestroy

boolean

automatically destroy instances
since 17.11

true
Default

Automatically destroy instances created with the <fsi-thumbbar> tag upon removing the tag from the document DOM.

viewerSelector

string

alias for viewerID
since 17.101

Defines a selector (e.g. #myViewer or fsi-viewer or .myClass) of an FSI Viewer instance to be used to display the selected image. You may use auto to use the first <fsi-viewer> tag in the document (if there is only one).

cmdButtonSelector

string

a selector to one or more DOM elements that should be used as control buttons
since 17.11

Defines a selector to one or more DOM elements that should be used as control buttons.

The matched DOM elements need to contain the attribute data-fsi-cmd with one of the following values: firstImage, previousPage, previousImage, nextImage, nextPage, lastPage

See "Adding control buttons" for more information.

perspectiveAlignment

string

Defines the perspective origin for 3D presentation types
since 17.11

1.0
Default

Defines the perspective origin for 3D presentation types (innerRing, outerRing, custom).

  • 1.0: perspective origin at bottom (or right)
  • 0.5: perspective origin at center
  • 0.0: perspective origin at top (left)
  • ...or any other value

placeHolderImage

string

Defines the CSS Class and type of the placeholders while images are loading.
since 17.11

default
Default

Defines the CSS Class and type of the placeholders while images are loading.

  • none (CSS class: none) - no placeholder at all
  • blank (CSS class: blank) - a blank white placeholder
  • default (CSS class:default) - the default placeholder with a background image
  • custom (CSS class: custom ) - a custom placeholder class (add the CSS class as described below)
  • path to an image on FSI Server (CSS class: image) - a custom image with a pad effect (see parameter placeHolderPadEffect)

To customize the CSS for the placeholder, please use the following CSS rule:

div.fsi-thumbbar-root div.fsi-thumbbar-container img.placeholder.image

(replace .image with the CSS class listed above).

placeHolderPadEffect

string

Defines the pad effect to use when using a custom placeholder image
since 17.11

Pad(CC,FFFFFF)
Default

Defines the pad effect to use when using a custom placeholder image (see parameter placeHolderImage).

garbageCollectionSize

integer

Specifies how many images will be kept in memory although they ar not visible anymore
since 17.11

-1
Default

Specifies how many images will be kept in memory although they ar not visible anymore.

Use -1 for auto sizing the garbage collection size.

Use 0 to disable garbage collections (all images will be kept in memory, not recommended for huge collections)

Any other positive number: At least the specified number of images will be kept in memory. Can be more images if required by instance size and preloadCount parameter.