---
title: "Page TSConfig Setup"
manual: "CKEditor Image Support"
version: "13.11"
permalink: "https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:integration-configuration-tsconfig@13.11"
source: "Integration/TSConfig.rst"
rendered: "2026-11-23T12:52:55+00:00"
---

# Page TSConfig Setup {#integration-configuration-tsconfig}

Configuration of page TSConfig settings for image handling, upload folders, and permissions.

> [!IMPORTANT]
> **Page TSConfig from the Site Set**
>
> The Site Set `netresearch/rte-ckeditor-image` ships page TSconfig
> (`Configuration/Sets/RteCKEditorImage/page.tsconfig`) that sets:
>
> -   ✅ Magic image dimensions (maxWidth: 1920, maxHeight: 9999)
> -   ✅ RTE preset `RTE.default.preset = rteWithImages`
> -   ✅ Processing mode `RTE.default.proc.overruleMode := addToList(default)`
>
> Without the Site Set, none of this page TSconfig is loaded.
> Add the lines above to your own page TSconfig.
>
> > [!NOTE]
> > **Frontend TypoScript**: the Site Set imports it. Its setup file
> > recommends to also include it in the `sys_template` record when it must
> > load after Bootstrap Package. Without the Site Set, include it yourself.
> > See [Frontend Rendering](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:integration-configuration-frontend-rendering@13.11).
>
> This section is for **advanced users** who need to customize these defaults or add field-specific configurations.

**Table of Contents**

-   [Page TSConfig](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:page-tsconfig@13.11)
-   [Content Element Configuration](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:content-element-configuration@13.11)
-   [Backend User Permissions](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:backend-user-permissions@13.11)
-   [Multi-Language Configuration](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:multi-language-configuration@13.11)
-   [Troubleshooting Configuration](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:troubleshooting-configuration@13.11)
-   [Related Documentation](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:related-documentation@13.11)

## Page TSConfig {#page-tsconfig}

![Page TSConfig module showing RTE configuration](../Images/backend-tsconfig-rte.png)

### Magic Image Configuration {#magic-image-configuration}

Configure maximum image dimensions for automatic image processing:

-   **RTE.default.buttons.image.options.magic.maxWidth**

    -   *type:* integer
    -   *Default:* 1920

    Maximum width in pixels for images inserted through the RTE.

    When an editor selects an image, the image dialog suggests display dimensions
    that fit within this limit, keeping the aspect ratio.
    If the option is not set, the extension falls back to 1920.

-   **RTE.default.buttons.image.options.magic.maxHeight**

    -   *type:* integer
    -   *Default:* 9999

    Maximum height in pixels for images inserted through the RTE.

    When an editor selects an image, the image dialog suggests display dimensions
    that fit within this limit, keeping the aspect ratio.
    If the option is not set, the extension falls back to 9999.

> [!NOTE]
> The extension reads these options only from
> `RTE.<name>.buttons.image.options.magic`, where `<name>` is the
> field's TCA `richtextConfiguration` (`default` if none is set).
> Values under `RTE.config.<table>.<field>` are not read.

**Example:**

```typoscript
RTE.default.buttons.image.options.magic {
    maxWidth = 1920
    maxHeight = 9999
}
```

> [!WARNING]
> Due to TYPO3 bug #87068, you may need to add these settings to root page config instead of custom template extensions.

### Processing Modes {#processing-modes}

```typoscript
RTE.default.proc.overruleMode := addToList(default)
```

### Upload Folder Configuration {#integration-configuration-upload-folder}

The extension has no upload folder option of its own.
The image browser and the external image import use the TYPO3 core
default upload folder, which core resolves from the user TSconfig option
`options.defaultUploadFolder` (see
[File Mounts](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:integration-configuration-permissions@13.11)).
The extension passes no page ID to the resolver, so
`options.defaultUploadFolder` in page TSconfig is not used.

## Content Element Configuration {#content-element-configuration}

### Enable for Specific Content Types {#enable-for-specific-content-types}

```typoscript
# Use a specific preset for tt_content bodytext
RTE.config.tt_content.bodytext {
    preset = rteWithImages
}
```

> [!NOTE]
> `buttons.image.options.magic` is not read under `RTE.config.*`.
> Set the magic image dimensions under `RTE.<name>`, where `<name>` is the
> field's `richtextConfiguration` (`RTE.default` if none is set; see above).

### Disable for Specific Fields {#disable-for-specific-fields}

```typoscript
# Disable RTE entirely for specific field
RTE.config.tt_content.header.disabled = 1
```

## Backend User Permissions {#backend-user-permissions}

### File Mounts {#integration-configuration-permissions}

Ensure backend users have appropriate file mounts:

**User TSConfig**

```typoscript
options.defaultUploadFolder = 1:user_uploads/rte/
```

### Access Restrictions {#access-restrictions}

**User TSConfig**

```typoscript
# Allow only specific file extensions
options.file_list.validFileExtensions = jpg,jpeg,png,gif,webp
```

## Multi-Language Configuration {#multi-language-configuration}

### Language-Specific Presets {#language-specific-presets}

```typoscript
[siteLanguage("locale") == "de_DE"]
    RTE.default.preset = german
[END]

[siteLanguage("locale") == "en_US"]
    RTE.default.preset = english
[END]
```

## Troubleshooting Configuration {#troubleshooting-configuration}

### Debug RTE Configuration {#debug-rte-configuration}

Enable RTE debugging:

**Page TSConfig**

```typoscript
RTE.default.showButtons = *
RTE.default.hideButtons =
```

### Verify Configuration Loading {#verify-configuration-loading}

Check active RTE configuration in backend:

1.  Edit content element
1.  Open the backend module **Page TSconfig**, select the page and
    check the active `RTE.` tree

### Configuration Priority {#configuration-priority}

Configuration precedence (highest to lowest):

1.  Field-specific config: `RTE.config.tt_content.bodytext`
1.  Type-specific config: `RTE.config.tt_content`
1.  Default config: `RTE.default`
1.  Extension defaults

## Related Documentation {#related-documentation}

### Configuration Topics {#configuration-topics}

-   [RTE Setup](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:integration-configuration-rte-setup@13.11) \- RTE configuration and basic setup
-   [Frontend Rendering](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:integration-configuration-frontend-rendering@13.11) \- TypoScript and frontend rendering setup
-   [Advanced Configuration](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:integration-configuration-advanced@13.11) \- Advanced configuration, styles, and best practices

### General Documentation {#general-documentation}

-   [Integration & Configuration](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:integration@13.11) \- Main configuration guide overview
-   [Quick Start](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:quick-start@13.11) \- Quick start guide
-   [Troubleshooting & Support](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:troubleshooting-index@13.11) \- Troubleshooting guide
