Image Optimization

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

Community 1 5/wk MIT v1.1.7

Installation

pnpm add @zubricks/payload-plugin-image-optimization

About

Image Optimization shrinks the original image files that editors upload to a Payload media collection. Each new or replaced image is re-encoded to the output format you choose, with limits on dimensions and file size, and metadata is stripped by default. If the new file is not smaller than the source, the original is kept, so an upload never gets worse.

The plugin also covers media uploaded before it was installed. An admin settings page lets signed-in users turn optimization on or off, pick a quality preset, and run a batch job over existing images. Individual uploads can be marked to skip optimization, and each image shows its compression status and size savings in a read-only summary.

Package info

Package name
@zubricks/payload-plugin-image-optimization
Latest version
1.1.7
Unpacked size
184 kB
License
MIT
Weekly downloads
5
Last publish
Aug 28, 2026

More from zubricks

View profile

Admin panel to trigger, watch and retry Payload Jobs tasks and workflows by hand

Shows GA4 traffic stats and live visitors as widgets in the Payload admin dashboard

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