Configuration 

The following configuration may be overwritten in your TypoScript constants.

List 

Show the number of file collections in the gallery list view. 1 means TRUE, 0 means FALSE.

plugin.tx_bmimagegallery {
    settings {
        list {
            showCount = 1
        }
    }
}
Copied!

Videos 

You can add some custom parameters to the URI where the videos will be retrieved from.

plugin.tx_bmimagegallery {
    settings {
        videos {
            # Append params for YouTube videos.
            youtube.params = autoplay=1&fs=1

            # Append params for Vimeo videos.
            vimeo.params = color=000
        }
    }
}
Copied!

Images 

Here you can set default image sizes.

plugin.tx_bmimagegallery {
    settings {
        images {
            width = 300c
            maxWidth = 500
            height = 300c
            maxHeight = 500
        }
    }
}
Copied!

Pagination 

Currently, the following TYPO3 core classes can be used for pagination:

  • TYPO3\CMS\Core\Pagination\SimplePagination
  • TYPO3\CMS\Core\Pagination\SlidingWindowPagination

Adapt the settings to your needs, further information can be found here.

plugin.tx_bmimagegallery {
    settings {
        pagination {
            class = TYPO3\CMS\Core\Pagination\SimplePagination
            itemsPerPage = 10
            maximumNumberOfLinks = 3
        }
    }
}
Copied!