---
title: "Basic Integration"
manual: "CKEditor Image Support"
version: "13.11"
permalink: "https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:examples-basic-integration@13.11"
source: "Examples/Basic-Integration.rst"
rendered: "2026-11-23T12:52:55+00:00"
---

# Basic Integration {#examples-basic-integration}

Quick start guide demonstrating the installation and basic customization options.

**Table of Contents**

-   [Installation](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:installation@13.11)
-   [Custom Configuration (Optional)](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:custom-configuration-optional@13.11)
-   [Related Documentation](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:related-documentation@13.11)

## Installation {#installation}

**Objective**: Get image functionality working in backend and frontend

### Step 1: Install Extension {#step-1-install-extension}

```bash
composer require netresearch/rte-ckeditor-image:^13.0
```

The extension registers the `rteWithImages` preset with the `insertimage` button.
The preset becomes active through the Site Set `netresearch/rte-ckeditor-image`:

**config/sites/\<site>/config.yaml**

```yaml
dependencies:
  - netresearch/rte-ckeditor-image
```

The Site Set also includes the frontend TypoScript and the image alignment CSS.
Without the Site Set, set `RTE.default.preset = rteWithImages` in page TSconfig
and include the TypoScript as shown in step 2.

### Step 2: Include TypoScript {#step-2-include-typoscript}

If you do not use the Site Set, include the TypoScript for **frontend rendering**.
It covers rendering only, not the image alignment CSS:

**Option A: Static Template**

1.  Go to **WEB > Template** module
1.  Select your root page, edit the template
1.  In **Includes** tab, add: **CKEditor Image Support**

**Option B: Direct Import**

```typoscript
@import 'EXT:rte_ckeditor_image/Configuration/TypoScript/ImageRendering/setup.typoscript'
```

### Verification {#verification}

1.  **Backend**: Log into TYPO3 backend → Edit any content element → RTE should show image button
1.  **Frontend**: Insert image in RTE → Save → View frontend → Image renders correctly

![Image insertion demo](../Images/demo.gif)

## Custom Configuration (Optional) {#custom-configuration-optional}

If you need to customize the RTE configuration, you can create your own preset:

### Custom Preset {#custom-preset}

**EXT:my_site/Configuration/RTE/Custom.yaml**

```yaml
imports:
  - { resource: "EXT:rte_ckeditor/Configuration/RTE/Default.yaml" }
  - { resource: "EXT:rte_ckeditor_image/Configuration/RTE/Plugin.yaml" }

editor:
  config:
    toolbar:
      items:
        - heading
        - '|'
        - bold
        - italic
        - '|'
        - insertimage
        - link
```

### Register Custom Preset {#register-custom-preset}

**EXT:my_site/ext_localconf.php**

```php
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['custom']
    = 'EXT:my_site/Configuration/RTE/Custom.yaml';
```

### Enable Custom Preset {#enable-custom-preset}

**Configuration/page.tsconfig**

```typoscript
RTE.default.preset = custom
```

> [!NOTE]
> The Site Set activates the default `rteWithImages` preset.
> Custom presets are only needed for specific toolbar or plugin customization.

## Related Documentation {#related-documentation}

-   [Integration & Configuration](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:integration@13.11) \- Complete configuration guide
-   [Image styles](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:examples-image-styles@13.11) \- Add custom image styles
-   [Troubleshooting & Support](https://docs.typo3.org/permalink/netresearch/rte-ckeditor-image:troubleshooting-index@13.11) \- Problem solving
