---
title: "TypoScript Reference"
manual: "Generic Gallery"
version: "main"
permalink: "https://docs.typo3.org/permalink/fnagel/generic-gallery:configuration-typoscript@main"
source: "Configuration/Typoscript/Index.rst"
rendered: "2026-11-04T21:50:40+00:00"
---

# TypoScript Reference {#configuration-typoscript}

Feel free to use the constant editor (go to: module template, root page,
constant editor, generic_gallery) to edit this settings. Add a TypoScript
template to overwrite these settings at any point in your site tree(s).

## TypoScript Reference {#typoscript-reference-1}

**Within this page**

-   [Properties](https://docs.typo3.org/permalink/fnagel/generic-gallery:properties@main)
-   [Property details](https://docs.typo3.org/permalink/fnagel/generic-gallery:property-details@main)

### Properties {#properties}

| Property | Data type | [stdWrap](https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Functions/Stdwrap.html#stdwrap) | Default |
| --- | --- | --- | --- |
| `settings.gallery` | array | no |  |
| `settings.gallery.name` | [string](https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Syntax/StringFormats/Index.html#data-type-string) | no |  |
| `settings.gallery.icon` | [string](https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Syntax/StringFormats/Index.html#data-type-string) | no | `extensions-generic-gallery` |
| `settings.gallery.template` | [string](https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Syntax/StringFormats/Index.html#data-type-string) | no | Fallback to Extbase's default behavior |
| `settings.gallery.itemTemplate` | [string](https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Syntax/StringFormats/Index.html#data-type-string) | no | Fallback to Extbase's default behavior |
| `settings.gallery.paginate` | array | no | Fallback to Fluid's default behavior |

### Property details {#property-details}

-   [settings.gallery](https://docs.typo3.org/permalink/fnagel/generic-gallery:settings-gallery@main)
-   [settings.gallery.name](https://docs.typo3.org/permalink/fnagel/generic-gallery:settings-gallery-name@main)
-   [settings.gallery.icon](https://docs.typo3.org/permalink/fnagel/generic-gallery:settings-gallery-icon@main)
-   [settings.gallery.template](https://docs.typo3.org/permalink/fnagel/generic-gallery:settings-gallery-template@main)
-   [settings.gallery.itemTemplate](https://docs.typo3.org/permalink/fnagel/generic-gallery:settings-gallery-itemtemplate@main)

#### settings.gallery {#settings-gallery}

`plugin.tx_genericgallery.settings.gallery` = array

Object with items predefine a gallery type. These items will be available in the plugin.

#### settings.gallery.name {#settings-gallery-name}

`plugin.tx_genericgallery.settings.gallery.name =` [string](https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Syntax/StringFormats/Index.html#data-type-string)

Define a name for this gallery type.

#### settings.gallery.icon {#settings-gallery-icon}

`plugin.tx_genericgallery.settings.gallery.icon =` [string](https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Syntax/StringFormats/Index.html#data-type-string)

Define a icon for this gallery type. Use registrated TYPO3 icon key.

#### settings.gallery.template {#settings-gallery-template}

`plugin.tx_genericgallery.settings.gallery.template =` [string](https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Syntax/StringFormats/Index.html#data-type-string)

Define a template file for this gallery type.
Use something like `EXT:my_extension/Resources/Private/Templates/SomeFolder/SomeFile.html`

If not set, the Extbase's default behavior will be used:
TYPO3 uses the template root path from `plugin.tx_genericgallery.view.templateRootPaths` and adds `GalleryCollection/Show.html` to it.

#### settings.gallery.itemTemplate {#settings-gallery-itemtemplate}

`plugin.tx_genericgallery.settings.gallery.itemTemplate =` [string](https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Syntax/StringFormats/Index.html#data-type-string)

Define a detail view template file for this gallery type.
Use something like `EXT:my_extension/Resources/Private/Templates/SomeFolder/SomeFile.html`

If not set, the Extbase's default behavior will be used:
TYPO3 uses the template root path from `plugin.tx_genericgallery.view.templateRootPaths` and adds `GalleryItem/Show.html` to it.
