Warp iMagick: WordPress Image Compressor, Image Optimizer & Sharpener, Convert WebP

Description

  • Quick & easy to use: Install, activate, configure and start uploading new media images!
    No external service or signup required. Plugin uses only PHP software installed on your server.
    To bulk (re)compress existing media images use “Regenerate Thumbnails Plugin” or “WP CLI media regenerate” command.

  • You don’t have to compress images before uploading to WordPress.
    Warp iMagick plugin will do it for you and preserve your uploaded original image as source for multiple recompressions without ever over-compressing. Plugin default JPEG Compression Quality of 60% is good speed/quality compromise for most of the web sites. If not, choose your own compression/quality settings.

  • After activation, settings you may want to change are JPEG Compression Quality and SharpenImage Sigma.
    Choose your compression quality from 30% to 95%. Sharpen Image from 0.5 to 1.5 Sigma. For the rest of the settings, use defaults or feel free to experiment and have fun with. 😇

  • Generating WebP images is optional
    Plugin is perfectly usable without WebP, because it still has many advanced capabilities missing in WordPress original compression. Fastest serving of WebP images is achieved by your server which can be configured to deliver converted WebP instead of JPEG/PNG images. Serving WebP images requires manual (DIY) configuration of Apache .htaccess file (or NGinx configuration & restart). You will find instructions on how to configure server and deliver WebP images on the settings page. Click on HELP at the top right of the plugin SETTINGS PAGE.

  • Improve your site performance, Google PageSpeed score and SEO ranking.
    By serving better compressed JPEG/PNG or WebP images. When generating WebP images is enabled, every JPEG and PNG media image or thumbnail found during image optimization process is converted to WebP and saved as copy with .webp extension added. Default PNG&JPEG to WebP images compression quality is 75% (configurable). In addition, JPEG to WebP compression quality can be set to use & follow compression quality set for JPEG images.

  • Automatic image optimization to thumbnails and conversion to WebP images:
    No external service required. No limits in number or size of images. Compress better or keep higher image quality than WordPress does by default. Images will be automatically compressed on upload or on “regenerate thumbnails”. Uploaded image is always preserved in original state. Image Compression will always start from original image quality. You can’t “overoptimize”. Reoptimize existing images with “Regenerate Thumbnails plugin” single or batch process, or with “WP CLI media regenerate” command.

  • Compatible with “WP CLI media regenerate” command and/or with “Regenerate Thumbnails” plugin.
    Important Note: Since WordPress 5.3, BIG JPEG images reduced to 2560×2560 (by “Big Image Size Threshold” feature) and then manually edited by user, on regenerate, will be restored back to original (unedited) version. User edited modifications will be lost, unless this plugin is used. See GitHub issue. Same bug/issue applies both to “WP CLI media regenerate” command and “Regenerate Thumbnails plugin”. To fix that bug/issue, install or upgrade Warp iMagick plugin to version 1.3.13 or above.

  • Compatible up to PHP 7.4.9 and tested against coding standards.
    Tested with PHP_CodeSniffer (phpcs) using WordPress Coding Standards GitHub rules and PHPCompatibility rules.

  • Warp-iMagick – Image Optimizer gives you full control over images, file size and quality in image optimization process.
    Images optimization is customizable with advanced image compression &amp optimization settings. See the plenty of options used to optimize images in the plugin Settings page.

  • Multisite support
    Designed to work on WP multisite. No known reason to fail on WP multisite, but not extensively tested yet!

  • Clean uninstall
    By default, no plugin settings are left in your database after uninstall. Feel free to install and activate to make a trial. However, you can choose to preserve plugin options after uninstall. For detailed uninstall info related to added WebP images, see the FAQ section below.

  • Privacy
    Warp-iMagick plugin does not collect nor send any personally identifiable data from your server. WordPress builtin cookies are used to store admin-settings page-state.

  • Known conflicts
    Due to use of bfi_thumb library which completely takes over wordpress WP_Image_Editor classes, in Ajax Search Lite plugin and in Circles Gallery plugin, Warp iMagick plugin will fail to activate while those plugins are active. Activating those plugins after Warp iMagick is activated, may cause malfunction.

Features

Screenshots

  • JPEG Settings
  • PNG Settings
  • WebP Settings
  • Other Settings
  • Regenerate Thumbnails
  • WebP Mobile Page Score

Installation

Using The WordPress Plugin Repository

  1. Navigate to the ‘Plugins’ -> ‘Add New’ .
  2. Search for ‘Warp iMagick’.
  3. Select and click ‘Install Now’.
  4. Activate the plugin.

FAQ

Where is the “GO” button?

There is no “GO” button. When activated, plugin automatically applies compression on all new JPEG/PNG media uploads.

How do I “bulk compress”?

To bulk (re)compress existing media images use “Regenerate Thumbnails Plugin” or “WP CLI media regenerate” command.

Do I need to keep ‘Regenerate Thumbnails’ plugin?

You don’t have to keep “Regenerate Thumbnails Plugin” plugin installed.

Does this plugin support WooCommerce images?

All image sizes are supported, including any theme and/or WooCommerce specific image sizes.

Which PHP extensions are required by this plugin?

  1. PHP-Imagick to compress JPEG/PNG files (required).
  2. PHP-GD to convert JPEG/PNG to WebP files (optional, but usually installed).

In order to modify/resize/crop photos or images, WordPress requires at least PHP-GD. When both extensions are installed, WordPress prefers PHP-Imagick over PHP-GD.

Do I have both required PHP extensions installed?

  1. WordPress 5.2 and above: Administrator: Menu -> Tools -> Site Health -> Info -> Expand “Media Handling” and check if “ImageMagick version string” and “GD version” have values.
  2. WordPress 5.1 and below: Install Health Check & Troubleshooting plugin. Open “Health Check” plugin page and click on “PHP Information” tab. You will find there all PHP extensions installed and enabled. Search (Ctrl-F) on page for “Imagick” and “GD”.
  3. WordPress Editor class must be WP_Image_Editor_Imagick (or Warp_Image_Editor_Imagick) but NOT WP_Image_Editor_GD.
  4. PHP-Imagick extension must be linked with ImageMagick library version 6.3.2 or newer.
  5. PHP-GD extension version must be at least 2.0.0 to be accepted by WordPress Image Editor.

Does my web hosting service provide PHP-Imagick and PHP-GD extensions?

  1. WPEngine: Both by default.
  2. EasyWP: Both by default.
  3. DreamHost: By configuration.
  4. SiteGround: Must enable.
  5. Ask your host-service provider.

How to install missing PHP-Imagick or PHP-GD extensions?

  1. CPanel based host
  2. PHP-Imagick setup
  3. Debian/Ubuntu: “apt install php-imagick php-gd”.
  4. Fedora/CentOs: “yum install php-imagick php-gd”.
  5. Ask your host-service provider.

How to serve WebP images?

See the settings page HELP for instructions on how to configure server to redirect .jpg/.png to .jpg.webp/.png.webp, if such file exists and browser suports WebP image format.

Why WebP files have two extensions?

To prevent overwriting duplicate “WebP” files. With single extension, when you upload “image.png” and “image.jpg”, second “image.webp” would overwrite previous one.

Why is WebP setting (checkbox) disabled?

Because your server has no PHP-GD graphic editing extension or your PHP-GD extension has no WebP support.

What happens with images when plugin is deactivated or deleted?

  1. Existing images remain optimized. If you run “Regenerate Thumbnails” batch process, after plugin is deactivated or deleted, batch process will restore original file-size and quality of WordPress thumbnails.
  2. If you have WebP images, they won’t be deleted. You can delete all WebP images while plugin is active. To delete WebP images, disable WebP option and then batch-run “Regenerate Thumbnails” for all media images.

Why is plugin disabled or fails to activate?

Because your server has no PHP-Imagick installed or has too old version of PHP-Imagick.

Reviews

May 7, 2021
Not only the plugin does what it claims the right way (no dependency to cloud services) but the developer is also very responsive. Kudos.
April 28, 2021
This plugin helps enhance WordPress' default image optimizing if your server is using Imagick (which is preferable to GD if quality is important). There are enough options to dial it in for your particular needs, and the authors continue to add the right options as needs arise. The one option that is very unique compared to most image optimization plugins is the ability to add sharpening to the resized thumbnails. By default, WordPress does not really sharpen the different smaller 'thumbnail' images it creates every time you upload an image. This is VERY important if you value sharp, quality images, as downsampling images can make them look very soft (this is why Photoshop can automatically sharpen when downsampling). This feature alone is a game-changer for us! Lastly, the plugin authors are very responsive and helpful, and seem to care about doing things properly.
March 24, 2021
Perfect for my project. I've been looking for a plugin to optimize the images in my VPS for some time. I'm glad I found it exactly when I needed it. I would like to donate for the plugin but I don't see any button.
January 13, 2021
YES, finally a plugin that simply uses the server side image optimization instead of expensive third party services.
January 9, 2021
More than Convert WebP! finely a solution for "BIG Image Size Threshold", "Warp iMagicks" helped me disabling it.
Read all 7 reviews

Contributors & Developers

“Warp iMagick: WordPress Image Compressor, Image Optimizer & Sharpener, Convert WebP” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.7 Current Version

  • Restore current Tab and collapsed Sections on settings-page reload and update.
  • Use temporary session cookie to store current Tab and collapsed Sections.
  • On (de)activate and/or uninstall, remove obsolete wp-usermeta settings.
  • Preview Thumbnails: Embed JPEG/PNG images to skip redirect to WebP.
  • Add simple “use & regenerate” help instructions to settings-page.
  • Fix admin-menu position when “Top” menu position selected.
  • Readme & FAQ update.
  • Apply 1.6.x fixes.
  • Fix Quoted HTML.

Previous versions