Download the PHP package netresearch/rte-ckeditor-image without Composer

On this page you can find all versions of the php package netresearch/rte-ckeditor-image. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rte-ckeditor-image

Latest GitHub release License CI CodeQL OpenSSF Scorecard OpenSSF Best Practices OpenSSF Baseline PHPStan codecov SLSA 3 Documentation

Composer Total downloads TYPO3 extension Stability TYPO3 versions Latest TER version

RTE CKEditor Image — Image Support for CKEditor 5 in TYPO3

A TYPO3 extension that restores and modernises rich-text image handling for TYPO3 v13.4 LTS and v14.3 LTS, built on CKEditor 5 with full File Abstraction Layer (FAL) integration, image processing, accessibility metadata, and content security in mind.


Table of Contents


Why this extension exists

TYPO3 intentionally removed rich-text image handling from the core in TYPO3 v10. Editors lost the ability to insert FAL-backed images into bodytext via the rich-text editor — the recommended path became dedicated image content elements, which is not always what an editorial workflow needs.

This extension fills that gap without recreating the legacy rtehtmlarea behaviour wholesale. Images inserted from the rich-text editor go through the same Magic Images processing pipeline integrators already know from TSConfig: cropping, scaling, quality multipliers, lazy-loading, captions, and inline links. The CKEditor 5 plugin handles upcast/downcast cleanly, the backend uses TYPO3's modern file browser, and the rendered frontend output passes through TYPO3's parseFunc / Fluid template chain so site themes (Bootstrap Package, custom sitepackages, Content Blocks) can override it.

If your editorial workflow needs inline images inside paragraphs — with alt text, captions, links, popups, alignment, and high-DPI rendering — and you do not want to give up FAL or content security, this is the extension for you.


Features at a glance

Editor experience

Frontend rendering

Integrity & maintenance

Quality & security


Requirements

Component Supported versions
TYPO3 13.4.21+ LTS or 14.3+ LTS
PHP 8.2, 8.3, 8.4, 8.5
Required TYPO3 extensions typo3/cms-rte-ckeditor (extension key rte_ckeditor, shipped with TYPO3 core)
Required PHP extensions ext-dom, ext-libxml

The CKEditor 5 plugin auto-integrates with GeneralHtmlSupport for image styles — no extra config required.

Version compatibility

The main branch targets the current TYPO3 LTS releases. Earlier TYPO3 versions are served by dedicated, version-pinned branches. Composer selects the right series automatically from your installed TYPO3 version, or you can pin it explicitly (e.g. composer require netresearch/rte-ckeditor-image:^12.0).

TYPO3 Extension branch Latest release PHP Status
13.4 LTS / 14.3 LTS main 13.10.0 8.2 – 8.5 Actively maintained (CKEditor 5)
12.4 LTS TYPO3_12 12.0.12 8.1+ Maintained (bugfixes)
11.5 LTS TYPO3_11 11.0.17 7.4+ End of life — available, no further updates
10.4 LTS TYPO3_10 10.2.5 End of life — available, no further updates

The TYPO3_12 and main branches use CKEditor 5 (matching TYPO3 core's CKEditor 5 integration from v12 onward); the TYPO3_11 and TYPO3_10 branches use the legacy CKEditor 4. The features described below target main (TYPO3 v13/v14).


Installation

1. Install via Composer

2. Enable the Site Set

Activating the shipped Site Set wires up both the backend RTE preset (with the insertimage button) and the frontend TypoScript for image processing in one step. Add the extension to your site's config.yaml:

Using Bootstrap Package or another theme extension? List netresearch/rte-ckeditor-image after them in your dependencies, so the RTE preset wins the load order.

3. (Alternative) Manual TypoScript import

If you prefer to manage TypoScript load order yourself rather than rely on Site Sets:

4. (Optional) Custom RTE preset

If you maintain your own RTE preset and want to inject the image plugin into it:


Configuration

The extension ships with sensible defaults — most installations need zero configuration. The four most commonly tuned settings live in Extension Configuration (Admin Tools → Settings → Extension Configuration → rte_ckeditor_image):

Setting Default Purpose
fetchExternalImages on When set, pasted external image URLs are downloaded into the current BE user's upload folder rather than left as cross-origin <img> tags.
enableAutomaticRteSoftref on Registers the rtehtmlarea_images soft reference on every RTE-enabled text field so images are tracked in the reference index automatically.
enableAutomaticPreviewRenderer on Registers an image-aware preview renderer for all records with RTE bodytext; warns about broken references in the page module.
excludedTables / includedTablesOnly empty Comma-separated table lists to scope the two automatic features above. includedTablesOnly is whitelist mode and overrides excludedTables.

The full reference — every option, every edge case — lives in the manual: see Advanced Configuration.

Image src storage convention

RTE image src is persisted in canonical site-root-relative form (/fileadmin/image.jpg, with a leading slash). Slashless storage (fileadmin/image.jpg) is treated as a defect and repaired by the validator — modern TYPO3 does not emit <base href>, so a slashless src resolves against the current page URL in the browser and breaks on every non-root page. External references (https://…, data:…, //cdn.example.com/…) pass through unchanged.

Subpath installs (TYPO3 served from /~user/, /subsite/, etc.) must set config.absRefPrefix = /subsite/. TYPO3's render chain prepends it to leading-slash paths at output time, so storage stays identical to a site-root install.

See ADR-004: Image src Storage Convention for the full rationale.


Usage recipes

The snippets below cover the configuration questions that arrive most often. The manual covers each topic in depth.

Set maximum width / height

Magic Images obey the limits configured in Page TSConfig. Defaults are conservative — raise them for editorial sites with large hero images:

If TSConfig from a custom template extension does not take effect, place the settings directly on the root page record.

Lightbox via fluid_styled_content

Default CSS class for every RTE image

Native browser lazy loading

See Feature 90426 (Native lazy loading) for the underlying TYPO3 behaviour.

Image Quality selector

The image dialog includes a Quality dropdown that lets editors trade file size against pixel density per image:

Option Multiplier Use case
No Scaling 1.0x (no processing) Newsletters, PDFs, SVGs — keep original file
Standard 1.0x Match display dimensions exactly
Retina 2.0x High-DPI displays (default)
Ultra 3.0x Hero images, key visuals
Print 6.0x Print-quality output, professional photography

The choice is stored in the data-quality HTML attribute, so it survives re-edits and is reproducible across environments. See the Image Quality Selector documentation for technical details, use cases, and the migration guide from legacy noScale.

Skip processing globally (legacy noScale)

For all-original-images integrations (newsletter exports, PDF-bound content), keep originals globally:

The modern, per-image equivalent is the Quality selector set to No Scaling — better UX, same effect (data-quality="none"). Processing is skipped automatically when requested dimensions equal the original, when the file is an SVG, or when Quality is set to No Scaling.

Restrict allowed file extensions

By default the extensions listed in $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] are allowed. Override per RTE preset:


Documentation

This project maintains a single source of truth — the manual published on docs.typo3.org — supplemented by AI-readable context inside the repository.

Official manual — docs.typo3.org

The published manual is the canonical reference for integrators, administrators, and editors. It covers installation, configuration, integration, troubleshooting, the developer API, the CKEditor 5 plugin internals, and the architecture decision records.

📘 docs.typo3.org/p/netresearch/rte-ckeditor-image

Source: Documentation/ (reStructuredText, automatically built and published).

In-repository guides


Security

This extension implements defense-in-depth security at every boundary where untrusted RTE content reaches a renderer or a storage path:

Responsibilities delegated to TYPO3 Core (and not re-implemented here): SVG file upload sanitization, file extension and MIME validation, and image-processing security inside GraphicalFunctions. See ADR-003: Security Responsibility Boundaries for the full division.

To report a vulnerability, please follow SECURITY.md. Do not open public issues for security findings.


Development

DDEV environment (recommended for full backend testing)

The repository ships a complete DDEV setup with TYPO3 v13 and v14 side-by-side, Bootstrap Package preinstalled, and rendered documentation served locally:

URL Purpose
https://rte-ckeditor-image.ddev.site/ Overview landing page
https://docs.rte-ckeditor-image.ddev.site/ Rendered documentation
https://v13.rte-ckeditor-image.ddev.site/ TYPO3 v13 instance
https://v14.rte-ckeditor-image.ddev.site/ TYPO3 v14 instance
https://v13.rte-ckeditor-image.ddev.site/typo3/ v13 backend (login admin / Joh316!!)
https://v14.rte-ckeditor-image.ddev.site/typo3/ v14 backend (same credentials)

The DDEV environment is preconfigured for testing image insertion in the RTE, click-to-enlarge behaviour, caption WYSIWYG editing, image alignment, and image-style application.

Local development (no DDEV)

The full development guide — code standards, CI matrix, PR checklist, security boundaries — lives in AGENTS.md.

Quality gates


Verifying releases

Every release tag is GPG-signed and ships with SLSA Level 3 provenance attestation for supply-chain integrity.

Verify tag signature

Verify SLSA provenance

See SLSA for the framework overview and the attestations index for this project's published provenance.

Distribution channels


Contributing

Contributions of code, documentation, translations, and bug reports are welcome. The extension is currently translated into 31 languages via Crowdin.

Before opening a PR, please:

  1. Read Conventional Commits, validated by commitlint).
  2. Run make ci locally to mirror the pre-commit and CI checks.
  3. Add tests for new code paths — unit, functional, or E2E as appropriate.
  4. Keep PRs focused (~300 net LOC is a good target).

This project follows the SECURITY.md.


License & credits

Licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later).

Developed and maintained by Netresearch DTT GmbH.

Repository home: github.com/netresearch/t3x-rte_ckeditor_image.


All versions of rte-ckeditor-image with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-dom Version *
ext-libxml Version *
typo3/cms-core Version ^13.4.21 || ^14.3
typo3/cms-backend Version ^13.4.21 || ^14.3
typo3/cms-frontend Version ^13.4.21 || ^14.3
typo3/cms-extbase Version ^13.4.21 || ^14.3
typo3/cms-rte-ckeditor Version ^13.4.21 || ^14.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package netresearch/rte-ckeditor-image contains the following files

Loading the files please wait ...