=== Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF ===
Contributors: wp_rocket, imagify
Tags: optimize images, image optimization, compress images, convert webp, convert AVIF
Tested up to: 7.0
Stable tag: 2.3.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Image optimization in 1‑click: compress, resize & convert to WebP/AVIF – free up to 20MB/month. Enjoy the easiest WordPress image optimizer to set up.

== Description ==

=== 🏆 The Easiest Image Optimization Plugin for WordPress ===

[Imagify](https://imagify.io/) is the simplest image optimization plugin for WordPress to optimize images, so your website loads faster and images stay lighter. It’s designed for site owners who want quick and effective results with a very easy setup. 

With Imagify, you can resize and compress images and convert them to WebP and AVIF  directly from your WordPress dashboard, with up to 20MB of images optimized each month for free. Image optimization takes just one click and does not require technical knowledge. 

Whether you are uploading new images or optimizing an existing media library, Imagify makes image optimization simple, reliable, and easy to manage. 

What sets Imagify apart: 

* __WebP and AVIF conversion included in the free plan__, so you can use next-gen image formats right away. 

* __Easy to use__, with no advanced configuration to learn. 

* __Smart image compression__ that does the job for you and reduces file size while preserving image quality. 

* __Bulk image optimization__ that runs in the background. 

Watch the video and see for yourself why Imagify is the easiest image optimizer to make your images lighter and save time: 

[youtube https://www.youtube.com/watch?v=qbqV5yEZ6Og] 
 

=== ✨ Optimize Images with Imagify – Features at Glance: ===
 

* __Smart Compression (Does the job for you)__ – Automatically balances image quality and performance. You don’t need to tweak settings. Imagify optimizes every image for the best compression rate while preserving visual quality, so you save time and get consistent results without having to choose any settings. 

* __Lossless Compression (Optional)__ – Prefer pixel-perfect quality? Choose lossless compression. This option is ideal for photographers and quality-focused websites. 

* __Next-Gen Formats: WebP and AVIF (In one click)__ – Convert your images to WebP for wide compatibility or AVIF for superior compression in one click. This helps improve your Google PageSpeed performance score and Core Web Vitals grades. 

* __Resize Large Images Automatically__ – Resize oversized images to a maximum width of up to 2560 pixels on upload or during optimization. This can reduce file size by up to 80 percent while keeping images optimized on all devices.  

* __Asynchronous Bulk Optimization__ – Optimize your entire Media Library in the background without slowing down your site. Bulk optimization runs asynchronously, so you can keep working while Imagify handles the image optimization process for you. 

* __On-the-Fly Image Resizing__ – Resize images directly from the app or within WordPress. This makes it easy to optimize images at the ideal size right away. 

* __Original Image Backup__ – Keep your original images stored in a separate folder before the optimization process. This makes it easy to restore them at any time. 

* __Flexible File and Size Optimization__ – Choose which WordPress image sizes you want to optimize, including thumbnail, medium, large, 1536 px, and 2048 px. This helps you optimize only what you actually use and manage your monthly quota more efficiently. 

* __Auto-Optimize on Upload__ – New images are optimized automatically as soon as you upload them to WordPress. No manual steps and no forgotten images. 

* __MCP: AI Access for Imagify__ – Connect Imagify to your AI tool of choice and get answers based on your Imagify data. Ask your AI about image optimization status, available quota, or whether your images have WebP and AVIF versions. You can also troubleshoot issues or optimize and restore a single image directly from the conversation. Imagify is the first image optimization plugin to offer this kind of AI connection.
 
✨ In short, you have everything you need to optimize images at scale while keeping quality high and your setup simple. 
 

=== 💡 Why Optimize Images with Imagify? ===

Imagify is an image optimizer built by the same team behind WP Rocket and focuses on delivering the best performance while saving you time, whether you are new to image optimization or managing a large number of images across multiple websites. 

Imagify helps you optimize images, convert them to WebP and AVIF, and easily improve performance, including PageSpeed scores and Core Web Vitals. You’ll make your images load quicker without spending time adjusting settings. 

=== 📸 Optimize and Compress Images Easily ===

Imagify helps you optimize images by reducing their file size without losing image quality. Your pages load faster, without changing how your images look to your visitors. 

You can compress and resize images as they are uploaded, or optimize existing images in your media library. Imagify supports common image formats, including PDFs. 

If images are too large, you can set a maximum width. Oversized images are automatically resized during optimization, proportionally and without cropping. 

__The part you’ll love the most:__ Imagify uses Smart Compression to automatically choose the best balance between image quality and file size, so you get lighter images without visible quality loss or having to tweak settings yourself.

=== ⚙️ Enjoy Image Optimization in the Background ===

If you have many images, bulk optimization lets you optimize them all at once. The process runs in the background, so you can keep working while Imagify optimizes images for you. Original images are always preserved and can be restored at any time. 

=== 🔄 Convert Images to WebP and AVIF ===

In addition to resizing and compressing, with Imagify you can convert images to WebP and AVIF without upgrading, __as next-gen image conversion is included in all plans, including the free one.__)

You can choose whether to generate WebP images, AVIF images, or both from the Imagify settings. Once enabled, Imagify creates next-gen versions of your images.  

To serve these image formats on your site, you simply enable the option to display images in WebP and AVIF. Imagify then delivers the best format supported by each visitor’s browser. 

Image fallback is handled automatically. If a browser does not support WebP or AVIF, the optimized JPG or PNG version is served instead, ensuring full compatibility. 

Imagify supports next-gen conversion for all common image formats, including JPG, JPEG, PNG, and GIF.  

For instance, you can convert GIF to WebP, JPEG and JPG to WebP, and even PNGto WebP. The same goes for AVIF: you can convert GIF to AVIF, JPEG and JPG to AVIF, PNG to AVIF. 

=== ⚡ Boost Your Pagespeed Insights Score and Optimize Core Web Vitals ===

Heavy images are one of the most common reasons pages load slowly. When images are too large or not served in modern formats, they drag down performance and user experience. 

Imagify helps you fix this at the source by compressing images and converting them to the next-gen formats mentioned above, so pages load faster and feel smoother to visitors. Such image optimization tasks help your site meet Google’s performance recommendations, fix PageSpeed Insights audits such as [“Serve images in next-gen formats”](https://imagify.io/blog/serve-next-gen-formats-wordpress/)” and “[“Efficiently encode images”](https://imagify.io/blog/efficiently-encode-images-wordpress/), and improve key metrics like Core Web Vitals. 

With lighter images across your site, you get faster load times and better performance where it matters most and, piece on the cake, without having to fine-tune performance settings yourself! 

=== 🔌 Connect Your AI Tool to Imagify with MCP === 
 
Running multiple websites? With MCP (Model Context Protocol), you can get answers about your websites from a single conversation with your AI tool. 

Connect Imagify to an MCP-compatible AI tool such as Claude, GitHub Copilot, Codex, or ChatGPT, and it can access your actual Imagify data to answer questions, troubleshoot issues, and optimize or restore a single image when you ask. MCP is enabled by default, so there's nothing to configure in Imagify itself. Just connect from your AI tool and you're ready to go. 

Ask questions like: 
* "How many images still need optimization?" 
* "Do I have enough quota left to optimize everything?" 
* “Why wasn't my hero image optimized?" 

Your AI tool can also optimize or restore a single image when you ask it to. Nothing happens to your images unless you ask for it. 

MCP is included in all Imagify plans, free and paid, at no extra cost. It works alongside the plugin, not instead of it. Bulk optimization and settings changes still happen in the Imagify plugin itself.  

Requires WordPress 6.9+ and Imagify 2.3+. 

=== 💬 What Do Our Users Think of Imagify? ===

Here’s what our users have to say about us after optimizing their images with Imagify:

>"Images and other media are the largest parts on your web pages (most likely). Therefore don't forget to optimise images for the web before adding to your site. For WordPress there are many optimisation plugins available. My favourite is Imagify" — [Mark Wilkinson](https://twitter.com/wpmark/status/1479128422395830273)
>

>”To give your images a slimming treatment, without altering them aesthetically, there is a great plugin on WordPress: Imagify. Simple, efficient and functional, it’s really worth a look.”— [WP Marmite](https://twitter.com/wpmarmite_en/status/1383072818649255937)
>

> "Imagify is an awesome tool that is powerful & easy to use. It's fast, rivals and surpasses other established plugins/software. Awesome!" — [Simon Harper](https://twitter.com/SRHDesign/status/663758140505235456)
>

> "If you want to "squeeze" your images as much as possible and "trim out" your website on the highest professional level... Imagify" — [Ivica Delic](https://twitter.com/Free_LanceTools/status/685503950909476865)
>

> "Clearly Imagify is the most awesome WordPress plugin to compress images on your website! A must try" — [Eric Walter](https://twitter.com/EricWaltR/status/679053496382038016)
>

=== 💰 Is Imagify Free? ===

You can optimize for free 20MB of images (that’s about 200 images) every month. You can also convert to the next-gen WebP format for free.

Need to compress more images? Have a look at our plans: [https://imagify.io/pricing](https://imagify.io/pricing)

=== 💡 Want Image Optimization Tips? ===

If you want to optimize images and know more about using WebP images on WordPress, improving your PageSpeed score with Imagify, or compressing multiple images online, take a look at our blog: [https://imagify.io/blog/](https://imagify.io/blog/)

It’s packed with advice on image compression and so much more!

* [How to Convert Images to WebP on WordPress with Imagify](https://imagify.io/blog/how-to-convert-images-to-webp/)
* [How to Optimize Images on WordPress for Performance and SEO](https://imagify.io/blog/image-optimization-manual-for-wordpress/)
* [How to Reduce Image Size Without Losing Quality (and Save Space)](https://imagify.io/blog/reduce-image-size-without-losing-quality/)
* [How to Resize and Compress Multiple Images Online (Easy Methods)](https://imagify.io/blog/how-to-resize-compress-multiple-images-online/)
* [How to Make Photos Load Faster on WordPress: 6 Key Tactics](https://imagify.io/blog/how-to-make-photos-load-faster-wordpress/)
* [How to Optimize Images for Page Speed (and Google)](https://imagify.io/blog/optimize-images-page-speed-google/)

=== 👥 Who Are We? ===

We are [WP Media](https://wp-media.me/), the company behind WP Rocket, the best caching plugin for WordPress.

Our mission is to improve the web, we are making it faster with [WP Rocket](https://wp-rocket.me/) and lighter with Imagify.

=== ✉️ Get in Touch! ===

* Website: [Imagify.io](https://imagify.io)
* Contact Us: [https://imagify.io/contact](https://imagify.io/contact)
* Twitter: [https://twitter.com/imagify](https://twitter.com/imagify)

=== 🚀 Related Plugins ===

* [WP Rocket](https://wp-rocket.me/): Best caching plugin to speed-up your WordPress website.
* [Lazy Load](https://wordpress.org/plugins/rocket-lazy-load/): Best Lazy Load script to reduce the number of HTTP requests and improve the website's loading time.

License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

== Installation ==

= WordPress Admin Method =
1. Go to you administration area in WordPress `Plugins > Add`
2. Look for `Imagify` (use search form)
3. Click on Install and activate the plugin
4. Optional: find the settings page through `Settings > Imagify`

= FTP Method =
1. Upload the complete `imagify` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Optional: find the settings page through `Settings > Imagify`

== Frequently Asked Questions ==

= Does Imagify optimize images automatically on upload? =
Absolutely. Imagify can be configured to automatically optimize images as they’re uploaded to your Media Library. This ensures every image is compressed using the best optimization settings the moment it appears on your site—saving you time and maximizing performance. 

= How can I measure the impact of Imagify on speed score? =

You can use GTMetrix and Google PageSpeed Insights to check the relevant suggestions. It is recommended to test the following metrics before and after the image optimization:

* Total Page Size (GTMetrix)
* Optimize images (GTMetrix)
* Serve images in next-gen formats (PageSpeed Insights)
* Efficiently encode images (PageSpeed Insights)

= What makes Imagify better than other image optimizer tools? =

Imagify is an extremely powerful image optimizer: our advanced compressing algorithm will compress images, reduce their weight without sacrificing their quality.

Imagify is also super easy to use. Thanks to its intuitive design, you can easily get familiar with the interface and services without thinking about it.

And our dedicated customer support will help you fix any issue with your image optimizing process. Support is available via contact form, either on our website, or directly on your Imagify plugin settings page.

= How many websites can I optimize with Imagify? =

You can use Imagify on as many websites as you wish. Your image optimization quota to compress images will be shared evenly across all of the websites.

If you need more control over how your Imagify subscription is used, you should create sub-accounts to allocate a quota for each.

= How does the WebP feature work on non-supported browsers? =

Imagify will deliver images in the original format for browsers that don’t support the next-gen WebP format automatically, so there is nothing further to be done.

= Is Imagify compatible with NextGEN? =

Yes, Imagify is fully compatible with NextGEN Gallery, the most popular photo gallery plugin for WordPress. All Imagify optimization features related to NextGEN Gallery images are located and usable within the NextGEN Gallery menus and pages. So when you add images to your NextGEN galleries, you’ll be able to optimize them as well.

= Which formats can be optimized? =

Imagify can optimize JPG, PNG, WebP, PDF files and GIFs (whether animated or not).

When you optimize JPG, PNG, and GIF files, Imagify will also create WebP and AVIF versions of your original images and all your thumbnail sizes (if you have this option enabled).

= How should I know which image compression level is best for me? =

Don’t worry! Imagify comes with the Smart Compression Mode. It means that your images will be automatically optimized for the best possible compression ratio and quality. There’s nothing else to do – just enjoy your lighter and faster images.

= How does the image optimization process work? =

The image optimization process is performed on our servers. Once done, Imagify returns the optimized image to your server. We do not edit images’ titles or any other information, so there is nothing further to be done on your end than to compress images. Your original images will be moved to a dedicated backup folder (just make sure to keep the Backup option active in Imagify settings).

= How to enable the Webp Converter? =

With Imagify v2.2, the creation of WebP images is enabled by default. This means that when Imagify optimizes your images using its built-in WebP optimizer, a WebP version will automatically be generated, provided you have disabled the “Create AVIF versions of images” option in your plugin settings. Although the WebP files won’t be directly visible in your Media Library, you can verify their creation by checking for the “Next-Gen generated: yes” indication in the Imagify column of your Media Library.

= How long are images stored by Imagify? =

Once your images have been optimized via the WP plugin, the compressed images stay on your end forever (even if you delete the Imagify account).

During the optimization process, compressed images sent via the API or WordPress plugin are stored for one hour on our server (they are already sent back to your site and stay there safely).

Using the online application, compressed images are stored for 24 hours (with a free account) and for unlimited time if you have a paid subscription.

= Can I restore images after compression? =

Yes, as long as the Backup option is active in Imagify settings (it is active by default when you activate the WP Plugin).

= If I remove Imagify, will my images stay compressed? =

Yes, your images will stay compressed even after removing Imagify (and even after you delete your Imagify account).

= If I use Imagify, do I need to continue optimizing and resizing my images with Photoshop? =

Do not waste your time resizing and optimizing your images in Photoshop. Imagify takes care of everything to compress your images!

= Is the EXIF data of images removed? =

EXIF data is not removed.

= I used Kraken, Optimus, EWWW or WP Smush, will Imagify further optimize my images? =

Absolutely. Most of the time, Imagify will still be able to optimize your images even if you have already compressed them with another tool.

= Will the original images be deleted? =

No. Imagify automatically replaces the original images with an optimized image. The backup option allows you to keep the original images and restore them with one click.

= Is it possible to re-optimize images with a different level? =

Yes. By activating the backup option in the plugin, you can re-optimize each image to lossless compression with a single click.

= What happens when the plugin is disabled? =

When the plugin is disabled, your existing images remain optimized. Backups of the original images are still available if you have enabled the images backup option.

= On which web hosts can the plugin be used? =

The plugin can be used on all hosts including "managed hosting" providers like WP Engine.

= Is Imagify compatible with Multi-Site? =

Yes, Imagify is 100% compatible with multi-site.

= Can we use Imagify on WordPress.com? =

It is possible to use the Imagify plugin on WordPress.com if you have a Business account.

= Do you offer support? =

Yes, the Imagify team offers full email support for image optimization questions. You can contact us via [https://imagify.io/contact/](https://imagify.io/contact/).

= When is support available? =

Our support is currently available Monday-Friday 8AM-10PM CET. We answer every email so you can expect the answer from us within 24h max (unless during the weekends).

= Is registration free? =

Yes, and no credit card is required.

= Do you offer a trial version? =

No. However, you get 20MB of quota per month for free to optimize your images (around 200 images).

= Where do I report security bugs found in this plugin? =
  
You can report any security bugs found in the source code of the site-reviews plugin through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/imagify). The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.

== Screenshots ==

1. Bulk Image Optimization

2. Settings Page

3. Media Page

4. Other Media Page

== Changelog ==
= 2.3.2 =
- New feature: Add a Missing Next-Gen filter to the Media Library.
- New feature: Add a manual stop button for bulk optimization.
- Enhancement: Prioritize newly uploaded and manually optimized images in bulk jobs.
- Enhancement: Chunk large database queries to avoid timeouts on restrictive hosts.
- Fix: The Next-Gen generation progress bar is visible again.
- Fix: The Next-Gen progress bar no longer shows a negative count.
- Fix: Next-Gen files are generated when the API reports an image as already compressed.
- Fix: Scaled uploads are no longer skipped by the bulk backup check.
- Fix: Improve WP Rocket CDN detection for CDN-hosted images.
- Fix: Restore correct capability handling for the Imagify network admin menu.
- Fix: Updated WP Mixpanel library to fix some loading issues that could surfaced.

= 2.3.1 =
- New feature: Add OAuth 2.1 + PKCE authentication for MCP clients such as Claude Desktop.
- New feature: Expose three new MCP abilities for AI agents interacting with Imagify.
- Enhancement: Add a documentation link to the out-of-quota popup covering all ways to keep optimizing.
- Enhancement: Require confirmation before MCP abilities consume optimization credits.
- Enhancement: Add a filter to exclude specific media from bulk optimization.
- Enhancement: Add a filter to customize supported mime types.
- Enhancement: Add the imagify_site_root_url filter, allowing multisites with domain mapping to declare the URL used to serve each subsite.
- Bugfix: Fix indefinite spinner and stuck progress in Generate Missing Next-Gen Images.
- Bugfix: Fix valid API key flagged as invalid when validation request is interrupted.
- Bugfix: Fix wrong orientation of Next-Gen images generated from EXIF-rotated backups.
- Bugfix: Fix layout shift and scrollbar inconsistency in the upgrade modal.
- Bugfix: Fix lightbox display issue caused by passing WordPress attributes to the picture tag.
- Bugfix: Images are no longer reported as having a next-gen version when none was generated, because the WebP or AVIF file would have been heavier than the optimized image.

= 2.3.0 =
- New feature: Added support for the Model Context Protocol (MCP), enabling compatible AI assistants to optimize images and manage Imagify through natural language.
- Enhancement: Improved validation to ensure only supported image files can be optimized through MCP.
- Fix: Improved error handling when requesting the status of media that no longer exists

= 2.2.9 =
- Enhancement: Add a new WP-CLI command to restore images in bulk.
- Enhancement: Add a one-click Reset Internal State tool to the troubleshooting page.
- Bugfix: Restore Imagify controls compatibility with NextGEN Gallery v4.x.
- Bugfix: Restore button icon alignment broken by WordPress 7.0.
- Bugfix: Fix the generate missing WebP button responsiveness.
- Bugfix: Prevent duplicate htaccess notices and fix undefined variable warnings.
- Bugfix: Fix incorrect flag passed to filter_input in bulk stats callback.
- Bugfix: Fix a fatal PHP error when optimizing a freshly uploaded NextGEN Gallery image with no metadata yet populated.
- Bugfix: Fix a fatal ArgumentCountError crashing the `wp imagify generate-missing-nextgen` WP-CLI command.

= 2.2.8 =
- Bugfix: Fix jQuery deprecation notices
- Bugfix: Fix PHP deprecation notices
- Bugfix: Fix the  _load_textdomain_just_in_time PHP notice
- Enhancement: Make sure to remove the transients when uninstalling Imagify
- Enhancement: Fix UI glitches

= 2.2.7 =
- Enhancement: improve code to follow correctly various WordPress coding standards rules
- Enhancement: Add a new filter `imagify_hide_plugin_family` to hide the Our Plugins section on the settings page 

= 2.2.6 =
- Bugfix: Fix warning related to translation files being loaded too early, improving plugin stability during image optimization. 
- 3rd-party library: Update bundled Action Scheduler to v3.9.2. 

= 2.2.5 =
- Enhancement: Optimize SQL queries inside the plugin to calculate necessary data faster and improve image optimization at scale. 
- Enhancement: Improve the design of banners displayed within the image optimizer plugin interface. 
- Enhancement: Correct the upgrade link to ensure smoother navigation within the image optimization flow. 

= 2.2.4 =
- Enhancement: Disable by default the calculation of media elements used for filters in the Media Library view to speed up image optimization workflows. 
- Enhancement: Remove unnecessary API calls on each page load to enhance image optimizer performance. 
- Enhancement: Update banner UI and remove an extra checkout step, streamlining the optimization setup. 
- 3rd-party compatibility: Fix display issue with unstyled banners in the Gravity Forms plugin view, improving integration during image optimization tasks. 

= 2.2.3.2 =
- Enhancement: Optimize and cache the modal attachment counter database query for better performance to optimize images in bulk.

= 2.2.3.1 =
- Enhancement: Reduce the number of requests sent to Imagify servers during large-scale image optimization operations.

= 2.2.3 =
- Enhancement: Cache license API calls to reduce load and improve how users optimize images. 
- 3rd-party compatibility: Update template_redirect priority to improve compatibility with WP Rocket’s LazyLoad and optimized image delivery. 
- Bugfix: Fix Uncaught TypeError: strpos() expects parameter 1 to be string fatal error. 
- Enhancement: UI improvements across the image optimizer interface. 
- Enhancement: Improve plugin architecture to support more efficient image optimization routines. 

= 2.2.2 =
- Enhancement: Let users choose which Next-Gen image formats (WebP, AVIF) should be generated in the UI for more flexible image optimization. 
- Enhancement: Add safeguards for image size values that are not strings to improve optimizer stability. 
- Enhancement: Improve detection of file types for better image optimization compatibility. 
- Bugfix: Fix fatal error related to “WP_List_Table”. 

= 2.2.1 =
- Enhancement: Prevent unnecessary .htaccess updates when switching between AVIF and WebP generation, improving image optimization stability. 
- Enhancement: Display the smallest image version in the Media Library image details section for easier review of optimized image output. 
- Enhancement: Correctly delete all Next-Gen versions when restoring the original image. 
- Enhancement: Bump minimum supported PHP version to 7.3. 
- Bugfix: Fix progress bar issue when disabling AVIF generation. 
- Bugfix: Fix incorrect image count in the Bulk Optimization section. 
- Bugfix: Correct display bug in original vs. optimized image comparison. 
- 3rd-party compatibility: Update compatibility with NextGen Gallery for AVIF support. 
- 3rd-party compatibility: Improve compatibility of AVIF images with AMP, Regenerate Thumbnails, and WooCommerce for consistent image optimization results. 

= 2.2.0.1 =
- Bugfix: Preserve "Display images in WebP format" setting when updating the plugin to maintain optimized image delivery.

= 2.2 =
- New Feature: Add AVIF generation support to provide next-gen image formats for advanced image optimization.

[Full changelog](https://github.com/wp-media/imagify-plugin/blob/develop/README.md)