Menu

Add missing thumbnails

This entire feature is automatically enabled within the docker image.

Prerequisite for Classic

In order to add missing thumbnails you need to have a chromium browser installed. Newer docker images include all of this by default without any intervention.

  • install chromium or chrome (e.g. sudo apt install chromium-browser) or use google-chrome (e.g. wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb and sudo apt install ./google-chrome-stable_current_amd64.deb)
  • change in your .env file: GENERATE_MISSING_THUMBNAILS = true

Manual thumbnail generation

Thumbnails can be manually created by executing the following command:

php artisan thumbnail:generate

Schedule thumbnail generation for Classic

Schedule them by adding this line to your servers cron entries if you have not already done this for the backups:

0 * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1

This will check every hour if there is any task to run.


By default missing thumbnails are generated every 2 hours. If you wish to change that add the following to your .env file:

THUMBNAIL_FILLER_INTERVAL = "0 0 */7 * *"

This would translate to a weekly missing thumbnail creation.