daun/statamic-placeholders

Generate low-quality image placeholders for lazyloading Statamic assets
10,300 10
Install
composer require daun/statamic-placeholders
Latest Version:4.2.0
PHP:^8.2
Laravel:12 · 13
Older releases:9 · 10 · 11
License:MIT
Last Updated:Jul 21, 2026
Links: GitHub  ·  Packagist
Maintainer: daun

Statamic Placeholder Images

Latest Version on Packagist Test Status Code Coverage License

Generate image placeholders of Statamic assets for smoother lazyloading.

Example image placeholders

Low-Quality Image Placeholders (LQIP) improve the perceived performance of sites by showing a small blurry placeholder image while the high-quality version is loading and are often used in combination with progressive lazyloading.

Features

  • Create blurry image placeholders for assets
  • Choose between ThumbHash, BlurHash, and Average Color placeholders
  • Generate placeholders on upload, or optionally on demand
  • Console commands for batch generation

How It Works

The addon ships with a Placeholder Image fieldtype and will automatically generate a small blurry placeholder image for each asset with this fieldtype in its blueprint. In your frontend views, you can access the image placeholder as a data URI string to display while the high-quality image is loading.

Quick Start

  1. Install using composer require daun/statamic-placeholders
  2. Add a placeholder field to your asset blueprint → assets.yaml
  3. Display placeholder data uris using the {{ placeholder }} field inside an {{ asset }} tag

Documentation

Read the documentation for a detailed guide to setting up and configuring the addon.

License

MIT

Related Packages

visuellverstehen/statamic-picturesque

A Statamic tag for building HTML-only responsive images.

19,764 11
4rn0/statamic-image-optimizer

Optimizes JPEG, PNG, GIF and WebP assets and Glide images with jpegoptim, pngqua...

18,341 5
larakit/hlp-beerhold

[Larakit] [Helper] Image placeholder (http://beerhold.it/)

414 0
pyaehein/laravellqip

LQIP Image handling for laravel.

22 1
approached/laravel-image-optimizer

Image optimizer for laravel

144,436 153

Version History

Version Released PHP Laravel License
4.2.0 ^8.2 MIT
4.1.1 ^8.2 MIT
4.1.0 ^8.2 MIT
4.0.0 ^8.2 ^12.0 MIT
3.1.1 ^8.1 ^9.21 || ^10.0 || ^11.0 || ^12.0 MIT