Base64

Generates a base64 image placeholder for every uploaded image

Community 17 53/wk Unlicense v1.2.0

Installation

pnpm add payload-base64-plugin

About

Base64 Plugin adds a base64 placeholder to images uploaded to Payload. When an image is saved, the plugin builds a tiny encoded version of it and stores that string in a text field on the same upload document. Your front end can show the string as a blur-up placeholder while the full image loads, which avoids blank boxes and layout jumps. You can limit the plugin to chosen upload collections, set how small the placeholder is, and choose whether transparency is dropped from it.

Package info

Package name
payload-base64-plugin
Latest version
1.2.0
Unpacked size
13 kB
License
Unlicense
Weekly downloads
53
Last publish
Nov 27, 2022

Similar plugins

More in Media

Live aspect ratio previews with crop and focal point editing for image uploads

Search Unsplash, Pexels and Pixabay stock images and videos from upload collections

Lets editors crop uploaded images in a modal and generates resized variants per preset

Curated YouTube creator watchlist with per-channel rules, a review queue and click-to-play embeds

Grid gallery with lightbox and bulk upload for a Payload upload collection

Read-only previews of uploaded documents in the admin, including Office files and PDFs