Page TSConfig Setup 

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

Page TSConfig 

Page TSConfig module showing RTE configuration

Page TSConfig configuration in the TYPO3 backend

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.

Example:

RTE.default.buttons.image.options.magic {
    maxWidth = 1920
    maxHeight = 9999
}
Copied!

Processing Modes 

RTE.default.proc.overruleMode := addToList(default)
Copied!

Upload Folder Configuration 

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). The extension passes no page ID to the resolver, so options.defaultUploadFolder in page TSconfig is not used.

Content Element Configuration 

Enable for Specific Content Types 

# Use a specific preset for tt_content bodytext
RTE.config.tt_content.bodytext {
    preset = rteWithImages
}
Copied!

Disable for Specific Fields 

# Disable RTE entirely for specific field
RTE.config.tt_content.header.disabled = 1
Copied!

Backend User Permissions 

File Mounts 

Ensure backend users have appropriate file mounts:

User TSConfig
options.defaultUploadFolder = 1:user_uploads/rte/
Copied!

Access Restrictions 

User TSConfig
# Allow only specific file extensions
options.file_list.validFileExtensions = jpg,jpeg,png,gif,webp
Copied!

Multi-Language Configuration 

Language-Specific Presets 

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

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

Troubleshooting Configuration 

Debug RTE Configuration 

Enable RTE debugging:

Page TSConfig
RTE.default.showButtons = *
RTE.default.hideButtons =
Copied!

Verify Configuration Loading 

Check active RTE configuration in backend:

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

Configuration Priority 

Configuration precedence (highest to lowest):

  1. Field-specific config: RTE.config.tt_content.bodytext
  2. Type-specific config: RTE.config.tt_content
  3. Default config: RTE.default
  4. Extension defaults