WordPress.org

Plugin Directory

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

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

Description

ImgSmaller integrates with the ImgSmaller API to compress images in your Media Library. It supports WEBP and AVIF output, runs in the background via WP-Cron or external cron, and includes robust backups and one-click restore. It also provides an exclusions browser, export/import of backups and replacements, and plan/quota awareness.

Key features:

  • Background image optimization with batching
  • WEBP and AVIF output formats
  • Automated backup of originals and one-click restore (all or selected)
  • Export/import backups ZIP; import optimized replacements ZIP
  • Exclusions browser with search, filters, and infinite scroll
  • Quota-aware processing with countdown and auto-resume
  • Secure tokenized public endpoints and file proxy for private media
  • Dashboard metrics, logs, and plan/allowed domains management
  • External cron support with copyable URL and token regeneration

External services

This plugin connects to the ImgSmaller API to compress images and retrieve plan/quota information.

What is the service and what is it used for?
– The ImgSmaller API (https://imgsmaller.com) provides image compression and account information used by this plugin to optimize your Media Library and display plan/quota details.

What data is sent and when?
– When you start compression, the plugin sends the public URL of each selected attachment (or a secure, tokenized proxy URL if the file is not publicly accessible) along with your API key to request compression. After polling completes, the plugin downloads the optimized image bytes.
– When viewing plan info, the plugin requests your current plan usage and limits using your API key.

Where can I find the service policies?
– Terms of Service: https://imgsmaller.com/terms
– Privacy Policy: https://imgsmaller.com/privacy

Notes:
– You can disable background processing at any time from the dashboard. If you prefer not to send any files or metadata, do not start compression and do not enter an API key.

Screenshots

  • Dashboard overview with plan, quota, and quick actions
  • Exclusions browser with search, filters, and select-all
  • Backup & Restore tools including export/import and restore selected
  • Activity log and live progress indicators

Installation

  1. Upload the plugin zip via Plugins → Add New → Upload Plugin, or place the folder ImgSmaller in wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to ImgSmaller in the admin menu.
  4. Enter your ImgSmaller API key and click Connect.
  5. (Optional) Add your site domain to Allowed Domains in your ImgSmaller account.
  6. Click Start Compression to begin. It runs in the background; you can close the dashboard.

FAQ

Do I need backups enabled?

Backups are recommended to restore originals and to export backups. You can disable them if you have another backup strategy.

Will this work with private or protected content?

Yes. If ImgSmaller cannot access a file directly, the plugin retries via a secure file proxy route.

How does quota blocking work?

When the daily limit is reached, the plugin pauses enqueueing new jobs and shows a countdown. It auto-resumes after reset.

Can I restore only specific images?

Yes. Use the Restore browser to search and select images to restore.

Does it support AVIF?

Yes. Choose AVIF in settings.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“ImgSmaller – Optimize Images | Compress Images | Convert WebP & AVIF” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.1

  • Security hardening: prevent direct access to view files.
  • Plugin header cleanup: remove Domain Path header.
  • Documentation: add External services section with data disclosure and policy links.

1.0.0

  • Initial release with background optimization, WEBP/AVIF, backups & restore, exclusions, export/import, plan management, quota awareness, secure file proxy, and polished dashboard.