ImgOptimizer & PNG to JPG

Description

ImgOptimizer helps you reduce Media Library image sizes without changing image attachment IDs.

  • Process JPEG and PNG images in batches.
  • Resize images that exceed configured dimensions.
  • Recompress JPEG images at a configurable quality.
  • Recompress PNG images while preserving transparency.
  • Convert PNGs to JPEG only when no transparency is detected.
  • Process a single image or selected Media Library images.
  • Optionally process new image uploads.

PNG-to-JPG conversion changes the image URL extension. Keep the original PNG until you have checked affected pages, especially when a page builder stores image URLs in custom data.

License

This plugin is licensed under the GPL-2.0-or-later license.

Installation

  1. Upload the plugin ZIP through Plugins > Add New > Upload Plugin.
  2. Activate the plugin.
  3. Go to Tools > Image Optimizer to configure settings and process images.

FAQ

Are transparent PNGs converted to JPG?

No. JPG cannot preserve transparency, so the plugin skips PNGs where transparency is detected.

Does the plugin delete the original PNG?

No, not by default. Enable that option only after verifying your site uses the new JPG URLs correctly.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“ImgOptimizer & PNG to JPG” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.3

  • Declare compatibility with WordPress 7.1.1.
  • Align the plugin name and text domain with the plugin slug.

1.1.2

  • Enqueue admin JavaScript and CSS through WordPress APIs.
  • Use uniquely prefixed plugin identifiers.
  • Prevent duplicate automatic-processing jobs during metadata regeneration.