Installation 

Manual installation 

  1. Download the extension from the TYPO3 Extension Repository.
  2. Upload to typo3conf/ext/.
  3. Activate the extension in the Extension Manager.

Setup 

The extension works out of the box after installation:

  • The frontend middleware picks up any request to the /processed/ path and produces a variant on demand.
  • The PSR-14 event listener for AfterFileAddedEvent and AfterFileReplacedEvent runs on every new or replaced image.

No additional configuration is required.

Optional: install optimizer binaries 

The automatic on-upload compression and the nr:image:optimize CLI command call out to optipng, gifsicle, and jpegoptim. The nr:image:analyze command is purely heuristic and does not require these binaries.

Install whichever tools you need and make them available in $PATH:

Debian/Ubuntu
sudo apt-get install optipng gifsicle jpegoptim
Copied!
macOS (Homebrew)
brew install optipng gifsicle jpegoptim
Copied!

To pin a specific path (useful in containerized environments) set one or more of the following environment variables:

OPTIPNG_BIN
Absolute path to optipng.
GIFSICLE_BIN
Absolute path to gifsicle.
JPEGOPTIM_BIN
Absolute path to jpegoptim.

A set-but-invalid override is authoritative: the tool is reported unavailable. There is no silent fallback to $PATH.