PHPackages                             basilicom/thumbnail-bundle - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. basilicom/thumbnail-bundle

ActivePimcore-bundle[Queues &amp; Workers](/categories/queues)

basilicom/thumbnail-bundle
==========================

This Bundle provides asynchronous thumbnail creation for Pimcore.

v1.0.2(5y ago)3166[1 issues](https://github.com/basilicom/thumbnail-bundle/issues)GPL-3.0-or-laterPHPCI failing

Since Sep 9Pushed 2y ago4 watchersCompare

[ Source](https://github.com/basilicom/thumbnail-bundle)[ Packagist](https://packagist.org/packages/basilicom/thumbnail-bundle)[ Docs](https://basilicom.de)[ RSS](/packages/basilicom-thumbnail-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Basilicom Thumbnail bundle for Pimcore
======================================

[](#basilicom-thumbnail-bundle-for-pimcore)

Enables asynchronous, worker based thumbnail creation.

Adding a lot of high resolution images to a Pimcore system can cause high load situations. This is mitigated by deferring thumbnail creation via jobs.

If a new asset is added to the system, the normal instant thumbnail generation is prevented and a default placeholder thumbnail is added instead. Simultaneously, a thumbnail creation job is added for the Symfony messenger component. Once the message is processed, the placeholder image is being replaced with the correct thumbnail.

License
-------

[](#license)

GPLv3 - see: gpl-3.0.txt

Requirements
------------

[](#requirements)

- Pimcore &gt;= 6.0.0
- RabbitMQ if using the rabbitmq transport (for ampq on PHP 7.3 see: [php-amqp/php-amqp#337](https://github.com/php-amqp/php-amqp/issues/337))
- php-redis &gt;= 4.3 if using the redis transport
- redis server &gt;= 4.3 if using the redis transport (needs XREADGROUP support)

Installation
------------

[](#installation)

1. Install the bundle using composer `composer require basilicom/thumbnail-bundle`.
2. Configure the bundle (see below)
3. Execute `bin/console pimcore:bundle:enable BasilicomThumbnailBundle`.

Configuration
-------------

[](#configuration)

1. As long as there is no patch preventing Pimcore from generating system thumbnails, change `vendor/pimcore/pimcore/models/Asset/Image.php`, in method `update` the line `$path = $this->getThumbnail(Image\Thumbnail\Config::getPreviewConfig())->getFileSystemPath();` to `$path = $this->getThumbnail(Image\Thumbnail\Config::getPreviewConfig())->getFileSystemPath(true);`
2. Disable low quality preview generation:

```
    # app/config/config.yml
    pimcore:
        assets:
            image:
                low_quality_image_preview:
                   enabled: false
```

2. Configure the Symfony Messenger (see ).

```
    # app/config/local/messenger.yaml
    framework:
        messenger:
            transports:
                #sample format:
                #async: "%env(MESSENGER_TRANSPORT_DSN)%"
                # sample redis transport, tested:
                async: "redis://redis:6379/messages"
                #doctrine does not work on pimcore, as only dbal is loaded, not doctrine!
                #async: "doctrine://default"
                # sample rabbitmq, tested:
                #async: "amqp://rabbitmq:rabbitmq@rabbitmq:5672/%2f/messages"
            routing:
                # async is whatever name you gave your transport above
                'Basilicom\ThumbnailBundle\Message\ThumbnailJob':  async
            # The bus that is going to be injected when injecting MessageBusInterface
            default_bus: command.bus
            buses:
                command.bus:
                    middleware:
                        - validation
```

3. Process async messenges (jobs) via console (or supervisord, see: ) add `-vv` to see individually processed messages

```
    bin/console messenger:consume

```

### Configure additional thumbnail formats

[](#configure-additional-thumbnail-formats)

If there is a text property `thumbnailConfig` on the asset (possibly inherited from a parent folder) containing a comma separated list of asset format names, thumbnails for these formats are going to be generated, too.

### Configure thumbnail placeholders

[](#configure-thumbnail-placeholders)

@todo not implemented, yet

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~194 days

Total

3

Last Release

2052d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c0d06c93d4cfac61be4239ec123ca75a189a5275d4e1782755d85029e67b6bc?d=identicon)[christophluehr](/maintainers/christophluehr)

![](https://www.gravatar.com/avatar/a5082ec20fca835c8a833af5de2647529bad59c9423fbc58cc5625c9fbff230c?d=identicon)[IgorBenko](/maintainers/IgorBenko)

![](https://www.gravatar.com/avatar/5805831276db4e971922dbc0fecdec2b1e1a5e9f1bf166286bd4a2299330d5c1?d=identicon)[Shobba](/maintainers/Shobba)

---

Top Contributors

[![christophluehr](https://avatars.githubusercontent.com/u/1352356?v=4)](https://github.com/christophluehr "christophluehr (5 commits)")[![mackrais](https://avatars.githubusercontent.com/u/8103057?v=4)](https://github.com/mackrais "mackrais (1 commits)")[![vmalyk](https://avatars.githubusercontent.com/u/5318027?v=4)](https://github.com/vmalyk "vmalyk (1 commits)")

---

Tags

asyncthumbnailpimcore

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/basilicom-thumbnail-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/basilicom-thumbnail-bundle/health.svg)](https://phpackages.com/packages/basilicom-thumbnail-bundle)
```

###  Alternatives

[amphp/amp

A non-blocking concurrency framework for PHP applications.

4.4k123.4M323](/packages/amphp-amp)[react/socket

Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP

1.3k116.9M402](/packages/react-socket)[revolt/event-loop

Rock-solid event loop for concurrent PHP applications.

91943.6M138](/packages/revolt-event-loop)[amphp/parallel

Parallel processing component for Amp.

84746.2M74](/packages/amphp-parallel)[react/dns

Async DNS resolver for ReactPHP

535114.1M100](/packages/react-dns)[amphp/byte-stream

A stream abstraction to make working with non-blocking I/O simple.

392116.2M104](/packages/amphp-byte-stream)

PHPackages © 2026

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