Skip to main content

Thumbnails

Thumbnail plugin provides a strip of thumbnail images. It basically creates new Carousel instance and uses Carousel Sync plugin to sync it with the main Fancybox carousel.

Options#

autoStart {Boolean}#

Automatically show thumbnails when opened. Default: true

minSlideCount {Number}#

The minimum number of images in the gallery to display thumbnails. Default: 3

key {String}#

Keyboard shortcut to toggle thumbnail container. Default: t

API#

You can check current state of Thumbnail plugin and toggle visibility of thumbnail strip using API:

Fancybox.getInstance().plugins.Thumbs.state;Fancybox.getInstance().plugins.Thumbs.toggle();