Skip to content
Plugin PantryPlugins

Plugins / Pantry Images

Smaller images without a subscription. WordPress can already write WebP; this plugin switches it on for new uploads, sets the quality, strips camera metadata, and regenerates the sizes of images you already have, in the background, on your own server.

The Pantry Images settings screen in the WordPress admin, at Plugin Pantry > Images.

What it does

  • WebP output for the generated sizes of JPEG and PNG uploads, through WordPress core's image_editor_output_format filter
  • Quality setting for generated images
  • Strip camera metadata (EXIF) from generated sizes
  • Maximum dimension for the scaled copy of very large uploads
  • Regenerate the sizes of existing images in the background, twenty at a time, with progress shown on the settings screen and a stop button
  • A status line saying whether the server's image library can write WebP, and refusing to switch on when it cannot

What it does not do

  • No cloud or API compression, no external requests
  • No AVIF in the free plugin
  • No changes to originals: the uploaded file is kept as it was
  • No lazy-loading changes; WordPress already does that
  • No CDN, no image resizing on the fly

Measured footprint

Zip size
20 KB
Lines of PHP
1,353
Options
pantry_images_settings, pantry_images_webp_supported, pantry_images_regenerate_progress
Post meta
none
Custom tables
none
Post types
none
Cron events
pantry_images_regenerate (scheduled only while a regeneration run is in progress)
Transients
none
Admin assets
includes/core/assets/pantry-admin.css on the settings screen only, includes/core/assets/pantry-admin.js on the settings screen only
Front-end assets
none
External requests
none
Measured on
2026-09-12

Compatibility

WordPress
6.4 or newer, tested to 7.1
PHP
8.1 or newer
Where it lives
Plugin Pantry > Images
Licence
GPLv2 or later

Every setting on the Pantry Images screen and what each one does, with the hooks it publishes: the same text that ships in the plugin README.

Pro add-on (planned)

See Pantry Pro pricing
  • Convert the whole existing library including full-size images, with a restore
  • AVIF output
  • Upload size and dimension caps per role

None of this is in the free plugin, and none of it is switched off inside it. Pro would be a separate plugin.

Changelog

All notable changes to this project are documented in this file, in the Keep a Changelog format.

1.0.0 - 2026-09-12

  • First release.
  • WebP output for generated sizes of JPEG and PNG uploads, through WordPress core's image_editor_output_format filter.
  • Status line reporting whether the server's image library can write WebP; refuses to enable when it cannot.
  • Quality setting for generated WebP images.
  • Strip camera metadata (EXIF) from generated sizes.
  • Maximum dimension for the scaled copy of very large uploads, 0 to disable.
  • Background regeneration of existing images, twenty at a time, with progress and a stop button.