Media plugins for Payload CMS 41

Process Payload CMS uploads after they land. Stream video through Mux, add Blurhash placeholders, convert images to WebP or search stock photos.

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

Adds AI text, image and voice generation and translation to Payload editors

Non-destructive crop and focus areas for upload images, set per usage

Generates SEO-friendly alt text for Payload media images, one at a time or in bulk

Generates image alt text with AI in the admin panel, with bulk runs and a coverage widget

Adds image backups, form abuse limits, cookie consent and a deploy audit to a site

Adds a BlurHash placeholder to upload collections for blurred image previews

Imports Google Photos picker selections into upload collections as copied files

Compresses and converts uploaded images to smaller WebP, AVIF, JPEG or PNG files

Scans Payload uploads for malware and secrets and blocks suspicious files before they go live

Uploads videos from Payload straight to Mux with signed or public playback

On-demand image resizing, focal crops and placeholders for Payload uploads

Icon library for Payload: SVG upload collection with cleanup and an inline icon component

Manages custom font files in Payload and serves them as subsetted WOFF2

Uploads and manages Mux videos in a Payload video collection

About these packages

Media plugins work on files after they are uploaded to a Payload upload collection. They hook in through fields, hooks and admin components. Typical jobs are image placeholders, format conversion and video streaming. Where the files are stored is up to your storage adapter.

What these plugins cover

  • Video uploads to Mux and Cloudflare Stream with status tracking
  • Blurhash, ThumbHash and blur data URL placeholders for images
  • WebP and AVIF conversion and client-side image resizing
  • Unsplash, Pexels and Pixabay search inside the admin panel
  • Non-destructive crop areas and focal point previews
  • Gallery views, lightboxes and file previews for the media library

Choosing a media plugin

Check what Payload uploads already do before you add a plugin. Once sharp is set in payload.config, upload collections resize images, convert formats and crop around a focal point. Use plugins for work the core does not do, such as Blurhash placeholders or video streaming with Mux Video. Galleries and placeholder generators come in several packages each, so compare their recent releases and weekly downloads. If the files should live in S3 or another bucket, you need a storage adapter, not a media plugin.

Frequently asked questions

How do I add blur placeholders to images in Payload CMS?

Install a placeholder plugin. Blurhash generates a Blurhash or ThumbHash for each uploaded image. Blur Data URLs stores a blur data URL on each media item instead. Your frontend shows that value while the full image loads.

Can Payload CMS host and stream video?

Payload serves the original file, but it does not transcode video or create adaptive streams such as HLS. Mux Video sends uploads to Mux and keeps them in sync. Video Stream does the same with Cloudflare Stream and tracks the processing status.

How do I convert uploads to WebP in Payload?

Set formatOptions on the upload collection, with sharp passed to buildConfig in payload.config. Img Convert is an alternative that converts and resizes images to WebP, AVIF, PNG or JPEG on upload.