BlurHash
Generates BlurHash placeholders for images in Payload CMS collections.
Installation
pnpm add @zapal/payload-blurhash-plugin About
This BlurHash plugin for Payload CMS creates lightweight image placeholders to enhance website performance. It integrates directly into the Payload configuration, allowing specification of which collections to enable the plugin for. Upon image upload, it generates a `blurhash` field, providing a visual placeholder while the actual image loads. The plugin allows for configuration options like enabling/disabling based on environment variables, as well as adjusting image dimensions before blurhash generation. Supported collections must be configured in the `payload.config.ts` file, and it ensures a smooth user experience during image loading. While the plugin currently does not support generating blurhashes for resized images, future updates plan to add this feature.
Package info
- Package name
@zapal/payload-blurhash-plugin- Latest version
1.0.7- Unpacked size
- 43 kB
- License
- MIT
- Weekly downloads
- 6
- Last publish
- Oct 22, 2023
More from zapal-tech
View profileCloud
Connects a Payload instance to Payload Cloud's managed S3 storage, Cloudflare CDN upload caching, and Resend email delivery.
Unsend
Send emails using the Unsend REST API in Payload.
Email Template Builder
Create dynamic email templates using a visual builder in Payload CMS.
Ahasend Email Adapter
Integrates Ahasend email service with Payload CMS.
EasyEmail Pro
Build responsive email templates in Payload with a dedicated editor.
useSend Email Adapter
Integrates PayloadCMS with useSend for email delivery.