PHPackages                             webcoast/deferred-image-processing - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. webcoast/deferred-image-processing

ActiveTypo3-cms-extension[Image &amp; Media](/categories/media)

webcoast/deferred-image-processing
==================================

Handles image processing on request instead of during page generation

v3.0.4(1mo ago)1342.6k↑66.1%11[5 issues](https://github.com/webcoast-dk/deferred-image-processing/issues)[1 PRs](https://github.com/webcoast-dk/deferred-image-processing/pulls)GPL-3.0-or-laterPHPPHP ^8.1

Since Nov 26Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/webcoast-dk/deferred-image-processing)[ Packagist](https://packagist.org/packages/webcoast/deferred-image-processing)[ Docs](https://github.com/webcoast-dk/deferred-image-processing)[ RSS](/packages/webcoast-deferred-image-processing/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (4)Versions (17)Used By (0)Security (1)

Deferred Image Processing - TYPO3 CMS extension
===============================================

[](#deferred-image-processing---typo3-cms-extension)

What does it do?
----------------

[](#what-does-it-do)

The extension defers the image processing from during page generation to when the image is actually requested from the client (browser). When the image is processed and placed in the storage's processed folder, it will not be processed again, until it is deleted or all processed images are cleared.

This is useful on sites with lots of images on one page. Instead of generating one image after another, leading to a massive delay in page generation speed, the image processing load is split to the available PHP processes and thereby to multiple CPU cores.

TYPO3 CMS &amp; PHP version compatibility
-----------------------------------------

[](#typo3-cms--php-version-compatibility)

### TYPO3 CMS

[](#typo3-cms)

Extension ↓ / TYPO3 →10.411.512.413.414.41.0.0✅❌❌❌❌1.1.0✅✅❌❌❌2.0.0❌✅✅❌❌3.0.0❌❌✅✅✅### PHP

[](#php)

Extension ↓ / PHP →7.27.37.48.08.18.28.38.41.0.0✅✅✅❌❌❌❌❌1.1.0✅✅✅✅✅✅✅✅2.0.0❌❌✅✅✅✅✅✅3.0.0❌❌❌❌✅✅✅✅Installation &amp; configuration
--------------------------------

[](#installation--configuration)

The extension is available from packagist.org

```
composer require webcoast/deferred-image-processing
```

or from TYPO3 extension repository.

A database update is necessary to create the processing column `sys_file_processedfile.processed`.

```
./vendor/bin/typo3 database:updateschema
```

### RewriteRule for `apache`

[](#rewriterule-for-apache)

If using the default htaccess file which is shipped with TYPO3, then there is a rule which stops all further processing of static files which are not found:

```
# Stop rewrite processing, if we are in any other known directory
# NOTE: Add your additional local storages here
RewriteRule ^(?:fileadmin/|typo3conf/|typo3temp/|uploads/) - [L]
```

But for this extension to process the request - if no prepared image was found - needs to be redirected to `index.php` and is then handled by the middleware on the fly. So make sure to add a rule like this *before* the blocking rule above:

```
  # EXT:deferred-image-processing
  # NOTE: Speed up ^Production w/ ..
  #RewriteCond %{HTTP_ACCEPT} ^image/
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule /_processed_/.+_([0-9a-f]{10})\.([a-z]+)$ %{ENV:CWD}index.php?dip[chk]=$1&dip[ext]=$2 [END]
```

URL/HASH ref. @ [`Resource/Processing/AbstractTask`](https://github.com/TYPO3/typo3/blob/12.4/typo3/sysext/core/Classes/Resource/Processing/AbstractTask.php#L79-L103)

### RewriteRule for `nginx`

[](#rewriterule-for-nginx)

```
  # EXT:deferred-image-processing
  location ~ "/_processed_/.+_([0-9a-f]{10})\.([a-z]+)$" {
    try_files $uri /index.php?dip[chk]=$1&dip[ext]=$2;
  }
```

### Processing queue (optional)

[](#processing-queue-optional)

The deferred images are marked in the `sys_file_processedfile` table by setting the `processed` column to `0`. To process deferred images in the background, you can use the `deferred_image_processing:process` command, which can be run with a cronjob or be executed via the TYPO3 CMS scheduler.

This step is completely optional and not mandatory for the extension to work.

```
# Process limiting to 10 items
./vendor/bin/typo3 deferred_image_processing:process

# Process limiting to  5 items
./vendor/bin/typo3 deferred_image_processing:process 5
```

Documentation
-------------

[](#documentation)

As the extension does everything itself automatically, there is no need for further documentation. If you feel, a documentation could be helpful, please contact me or open an issue with your question.

Contributing
------------

[](#contributing)

If you find a bug of want to improve the extension, you're free to fork it and provide a pull request with your changes. If you don't have the resources or knowledge, open an issue.

License
-------

[](#license)

© 2020, WEBcoast

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see .

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance85

Actively maintained with recent releases

Popularity39

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 80.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~167 days

Recently: every ~82 days

Total

13

Last Release

36d ago

Major Versions

v1.1.0 → v2.0.02025-07-01

v2.0.0 → v3.0.02025-07-01

PHP version history (4 changes)1.0.0PHP ^7.2.0

v1.1.0PHP ^7.2 || ^8.0

v2.0.0PHP ^7.4 || ^8.0

v3.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/40136e31ed1adbb309036dc82652bc7185f763ea98e8de9bc588e3f2a2bde6fc?d=identicon)[webcoast](/maintainers/webcoast)

---

Top Contributors

[![thommyhh](https://avatars.githubusercontent.com/u/13288620?v=4)](https://github.com/thommyhh "thommyhh (89 commits)")[![xerc](https://avatars.githubusercontent.com/u/1372590?v=4)](https://github.com/xerc "xerc (11 commits)")[![maechler](https://avatars.githubusercontent.com/u/4113819?v=4)](https://github.com/maechler "maechler (3 commits)")[![jrenggli](https://avatars.githubusercontent.com/u/743094?v=4)](https://github.com/jrenggli "jrenggli (2 commits)")[![swiftyone](https://avatars.githubusercontent.com/u/465094?v=4)](https://github.com/swiftyone "swiftyone (2 commits)")[![achimfritz](https://avatars.githubusercontent.com/u/2152991?v=4)](https://github.com/achimfritz "achimfritz (1 commits)")[![o-ba](https://avatars.githubusercontent.com/u/8812114?v=4)](https://github.com/o-ba "o-ba (1 commits)")[![fanat98](https://avatars.githubusercontent.com/u/7521886?v=4)](https://github.com/fanat98 "fanat98 (1 commits)")[![dhuf](https://avatars.githubusercontent.com/u/1814195?v=4)](https://github.com/dhuf "dhuf (1 commits)")

---

Tags

imageprocessingcmstypo3deferreddeferscaling

### Embed Badge

![Health badge](/badges/webcoast-deferred-image-processing/health.svg)

```
[![Health](https://phpackages.com/badges/webcoast-deferred-image-processing/health.svg)](https://phpackages.com/packages/webcoast-deferred-image-processing)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

611.1M8](/packages/netresearch-rte-ckeditor-image)[pagemachine/typo3-formlog

Form log for TYPO3

23238.6k8](/packages/pagemachine-typo3-formlog)[friendsoftypo3/visual-editor

TYPO3 CMS Visual Editor - Brings a modern WYSIWYG editing experience to TYPO3 CMS.

576.1k2](/packages/friendsoftypo3-visual-editor)[b13/assetcollector

Asset collector - Add CSS and SVG files and strings as inline style tag/inline svg to the html code.

10125.6k](/packages/b13-assetcollector)[sitegeist/image-jack

Jack of all trades concerning image optimization. Also introduces the usage of next-gen-image-formats

1181.7k](/packages/sitegeist-image-jack)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
