Faster and less memory hungry thumbnail generation for TYPO3 with vips php module

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 0

Open Issues: 2


0.0.3 2020-01-04 23:03 UTC

This package is auto-updated.

Last update: 2024-02-23 06:26:12 UTC


Faster and less memory hungry thumbnail generation for TYPO3 with libvips

Here is a speed and memory comparison:


The PHP module vips with version 8.8+ needs to be present on the server. The versions 8.5+ may work, but are not tested.

@jcupitt provides some Dockerfiles which may help you to get a newer version.

The module can be installed with pecl install vips


composer require christophlehmann/vips


By default the file types jpg,jpeg,png,webp,pdf are handled. Other types are handled through TYPO3. This list can be configured in EM. If you have problems with certain file types just deactivate them.

Implemented functionality

  • Crop images
  • Scale images
  • Mask images (currently done with TYPO3's default image processor)
  • Handle upscaling
  • Handle cropping by parameters like height=100c


Add the logging configuration to typo3conf/AdditionalConfiguration.php

$GLOBALS['TYPO3_CONF_VARS']['LOG']['Lemming']['Vips']['writerConfiguration'] = [
    \TYPO3\CMS\Core\Log\LogLevel::DEBUG => [
        \TYPO3\CMS\Core\Log\Writer\FileWriter::class => [
            'logFileInfix' => 'vips'

Then create a thumbnail and check the log typo3temp/var/log/typo3_vips_ea8bea6399.log


Contributions are very welcome! The extension is managed at Github