ImgSmaller – Optimize Images | Compress Images | Convert WebP & AVIF

plugin banner

Compress and optimize your WordPress media library images using the ImgSmaller API with automated backups and restore controls.

Author:Subarnadip Pal (profile at wordpress.org)
WordPress version required:6.5
WordPress version tested:7.1.2
Plugin version:1.1.1
Added to WordPress repository:19-10-2025
Last updated:27-09-2026
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:646
plugin download
Click to start download

ImgSmaller connects your site to the ImgSmaller API and optimizes Media Library images in small background batches. Original-format output is the default, so existing media URLs remain unchanged. WebP, AVIF, JPEG, and PNG conversion are also available when the server’s WordPress image editor supports the selected format.

Key features:

  • Background compression through WP-Cron, with an optional authenticated external-cron URL.
  • Original, WebP, AVIF, JPEG, and PNG output options.
  • Automatic original-image backups, bulk or selected restore, and cancellation-safe restore jobs.
  • Backup export/import and optimized-replacement ZIP import with archive safety checks.
  • Searchable exclusions and failed-image browsers.
  • Current-plan usage, billing-cycle quota, allowed-domain management, and automatic retry after API throttling.
  • Short-lived signed media proxy URLs when ImgSmaller cannot fetch a public attachment URL directly.
  • Activity logs and live compression/restore progress.

Backups are kept in a randomized directory below WordPress uploads and protected with server configuration files where supported. Backup archives include a site identity manifest and can only be imported back into the same WordPress installation. Archives made before version 1.1.0 do not contain this manifest and cannot be imported by version 1.1.0.

External services

This plugin connects to the ImgSmaller service at https://imgsmaller.com to compress images and obtain account information.

When compression is running, the plugin sends your API key, compression settings, and either an attachment’s public URL or a short-lived signed proxy URL. ImgSmaller fetches the image, processes it, and returns status and download information. The plugin then downloads the optimized image.

When the dashboard loads account information or you manage allowed domains, the plugin sends authenticated requests for plan usage, available plans, service information, and the allowed-domain list. Saving domains replaces that list with the submitted hostnames.

Terms of Service: https://imgsmaller.com/terms

Privacy Policy: https://imgsmaller.com/privacy

Do not enter an API key or start compression if you do not want this data sent to ImgSmaller.


Screenshots
FAQ
ChangeLog