Blurhash

Automatically encodes images in Blurhash format for Payload CMS.

Community 95 790/wk Unlicense v3.1.0

Installation

pnpm add payload-blurhash-plugin

About

This plugin integrates with Payload CMS to add automatic Blurhash encoding for images uploaded through the system. It allows users to generate a compact representation of images, which can improve loading performance and provide a placeholder while full images are being loaded. The plugin provides several configuration options. Users can define which collections should utilize the Blurhash processing, the MIME types to target, and whether to display the Blurhash field in the media management interface. It also supports selecting between different encoding algorithms, such as Blurhash and Thumbhash, with customizable parameters for the selected algorithm. Installation is straightforward, requiring addition to the Payload configuration file. As of now, it specifically targets uploaded images, making it a useful tool for enhancing media handling in web applications built with Payload CMS.

Package info

Package name
payload-blurhash-plugin
Latest version
3.1.0
Unpacked size
94 kB
License
Unlicense
Weekly downloads
790
Last publish
Feb 14, 2025

Similar plugins

More in Media