Description
Your WebP or transparent PNG product images look great on your shop, but not always in emails: classic Outlook for Windows may not display WebP, and some email clients paint transparency black.
This plugin creates an opaque JPG copy of each image, on a background you choose, and uses it only in emails. Your website keeps serving the originals.
Where it works
- WooCommerce emails: product thumbnails and other images from your uploads folder, such as the header logo.
- Connectif emails (such as abandoned cart): Connectif reads the JPG URLs from your site. Its plugin is not modified.
- Emails sent by other plugins are not touched.
A background that matches your brand
- A colour, a linear gradient or an image, set per channel.
- Reuse colours from your theme palette, your WooCommerce email settings or
wp-config.php. - Preview it with one of your products before saving.
Safe by design
- If an image can’t be converted, the email keeps the original.
- If the server lacks image support or WooCommerce is inactive, nothing is converted and a notice explains why.
- A new background creates new URLs. Old copies are kept, so sent emails don’t break.
WPML and WP-CLI
- With WPML, the order language selects the background, with optional per-language overrides.
- WP-CLI commands pre-build, clean up and inspect the JPG copies.
Privacy Policy
The plugin does not store personal data, add cookies or send anything to external servers. The images are generated on your own server.
Support
Please use the official WordPress.org Support Forum for any issues related to the plugin.
Screenshots


Installation
- Upload the
email-ready-images-for-woocommercefolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress. WooCommerce must be active, and the server needs Imagick or GD with WebP, PNG and JPEG support.
- Go to WooCommerce > Settings > Emails > Email images and choose the background.
- Optional: run
wp email-ready-images-for-woocommerce generateto pre-build the images. - If you use Connectif, resync your product catalogue from the Connectif panel.
FAQ
-
Do I need WooCommerce or Connectif?
-
WooCommerce is required. Connectif is optional.
-
Which image formats are converted?
-
WebP, PNG and GIF, plus AVIF if your server can read it. Animated images use their first frame.
-
Does it change the images on my website?
-
No. Your shop keeps serving the WebP and PNG originals. The JPG copies are only used in emails.
-
Why does it say it is not converting images?
-
Your server can’t read WebP and write JPG with Imagick or GD. The admin notice (in the Plugins screen and in WooCommerce settings) lists what is missing, and emails keep their original images meanwhile. Ask your hosting provider to enable WebP in the GD or Imagick PHP extension.
-
Why don’t I see the JPG in the WooCommerce email preview?
-
The email preview in the WooCommerce admin may still show the original image. The email that is actually sent uses the JPG.
-
The email still shows the WebP in my Connectif abandoned cart.
-
Connectif keeps the image URL it already knew until it sees the product again. Resync your catalogue from the Connectif panel, or wait until the products are visited. Abandoned carts already registered may keep the old image.
-
Does changing the background delete the old images?
-
No. Emails already sent and the Connectif catalogue still point to them. To remove the ones that are no longer in use, run
wp email-ready-images-for-woocommerce clear --stale --older-than=90. -
Can I set the background from code or per environment?
-
Yes. Define
ERIWOO_BACKGROUNDinwp-config.php, or use theeriwoo_backgroundfilter to change it by channel, language or product. -
Which gradients are supported?
-
Linear gradients only. Radial and conic gradients are not supported.
-
Is the first email slower?
-
The first time an image is needed it is generated on the spot. To avoid that, pre-build them with
wp email-ready-images-for-woocommerce generate. -
Does it work with WPML?
-
Yes. WooCommerce emails use the order language to choose the background, and the settings are global, not translatable strings.
-
Which WP-CLI commands and developer hooks are available?
-
All commands start with
wp email-ready-images-for-woocommerce:generatepre-builds the copies,cleardeletes them (--stalefor unused ones) andresolveshows the effective background. Filters:eriwoo_background,eriwoo_quality,eriwoo_mimes,eriwoo_engineanderiwoo_sizes. -
What happens if I uninstall it?
-
The plugin options are removed. The generated JPG files stay in your uploads folder; run
wp email-ready-images-for-woocommerce clearbefore uninstalling to delete them.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Email Ready Images for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Email Ready Images for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
