---
title: "Thumbnail ViewHelper <be:thumbnail>"
manual: "Fluid ViewHelper Reference"
version: "13.4"
permalink: "https://docs.typo3.org/permalink/t3viewhelper:typo3-backend-thumbnail@13.4"
source: "Backend/Thumbnail.rst"
modified: "2026-09-17T09:07:45+00:00"
---

# Thumbnail ViewHelper `<be:thumbnail>`

> [!NOTE]
> This ViewHelper is not available by default.
>
> [Import its namespace](https://docs.typo3.org/m/typo3/reference-coreapi/13.4/en-us/ApiOverview/Fluid/Index.html#fluid-syntax-viewhelpers-import-namespaces)
> `{namespace be=TYPO3\CMS\Backend\ViewHelpers\}` in the Fluid file or
> `xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers/"` in the opening HTML tag.

ViewHelper for the backend which generates an `<img>` tag with the special URI to render thumbnails deferred.

Go to the source code of this ViewHelper: [ThumbnailViewHelper.php (GitHub)](https://github.com/TYPO3/typo3/blob/main/typo3/sysext/backend/Classes/ViewHelpers/ThumbnailViewHelper.php).

## Arguments of the `<be:thumbnail>` ViewHelper

> **Allows arbitrary arguments**
>
> This ViewHelper allows you to pass arbitrary arguments not defined below
> directly to the HTML tag created. This includes custom `data-` arguments.

-   **additionalAttributes**

    -   *Type:* array

    Additional tag attributes. They will be added directly to the resulting HTML tag.

-   **aria**

    -   *Type:* array

    Additional aria-\* attributes. They will each be added with a "aria-" prefix.

-   **context**

    -   *Type:* string
    -   *Default:* 'Image.Preview'

    context for image rendering

-   **crop**

    -   *Type:* string|bool

    overrule cropping of image (setting to FALSE disables the cropping set in FileReference)

-   **cropVariant**

    -   *Type:* string
    -   *Default:* 'default'

    select a cropping variant, in case multiple croppings have been specified or stored in FileReference

-   **data**

    -   *Type:* array

    Additional data-\* attributes. They will each be added with a "data-" prefix.

-   **height**

    -   *Type:* string

    height of the image. This can be a numeric value representing the fixed height of the image in pixels. But you can also perform simple calculations by adding "m" or "c" to the value. See imgResource.width for possible options.

-   **image**

    -   *Type:* object

    a FAL object (\\TYPO3\\CMS\\Core\\Resource\\File or \\TYPO3\\CMS\\Core\\Resource\\FileReference)

-   **maxHeight**

    -   *Type:* int

    maximum height of the image

-   **maxWidth**

    -   *Type:* int

    maximum width of the image

-   **minHeight**

    -   *Type:* int

    minimum height of the image

-   **minWidth**

    -   *Type:* int

    minimum width of the image

-   **src**

    -   *Type:* string
    -   *Default:* ''

    a path to a file, a combined FAL identifier or an uid (int). If $treatIdAsReference is set, the integer is considered the uid of the sys_file_reference record. If you already got a FAL object, consider using the $image parameter instead

-   **treatIdAsReference**

    -   *Type:* bool
    -   *Default:* false

    given src argument is a sys_file_reference record

-   **width**

    -   *Type:* string

    width of the image. This can be a numeric value representing the fixed width of the image in pixels. But you can also perform simple calculations by adding "m" or "c" to the value. See imgResource.width for possible options.
