WordPress.org

Plugin Directory

Xray: Image Optimizer for WooCommerce (Compress, Resize & Convert to WebP)

Xray: Image Optimizer for WooCommerce (Compress, Resize & Convert to WebP)

Description

Tired of spending hours editing product photos with external software before uploading them to your store? Xray Image Optimizer compresses, resizes and converts your WooCommerce images to Next-Gen WebP directly from your WordPress dashboard, without any external service or API.

Heavy product photos are the number one cause of slow WooCommerce stores. Xray fixes this at the source: every image you add through the Studio is optimized before it ever reaches your catalog, so your pages stay light, your Core Web Vitals stay green and your Google PageSpeed Insights score goes up.

Managing a product catalog shouldn’t be a full-time job. With Xray you eliminate the round-trip through Photoshop or online compressors and centralise image compression, cropping and image SEO inside a native WooCommerce interface.

Why store owners choose Xray

  • Built for WooCommerce, not bolted on. The optimizer lives on the product edit screen, next to the Featured Image and Gallery, exactly where you work.
  • Real image compression + WebP conversion. JPG and PNG uploads are compressed and saved as WebP on the fly, typically cutting file weight by 60-80% with no visible quality loss. Your original file is kept as a backup.
  • Faster LCP and PageSpeed. Lighter product images mean a faster Largest Contentful Paint on shop and product pages, which helps both conversions and SEO.
  • Image SEO metadata in one place. Set Alt Text, Title, Caption and Description for every image from the Studio, and let Xray rename files from IMG_4921.jpg to blue-running-shoe.webp for Google Images.
  • Before/After preview. An interactive slider shows exactly what compression did before you save.
  • Smart auto-crop & resize. Force a clean 1:1 ratio and cap oversized images so your grid stays consistent and your server stays happy.
  • Works on posts and pages too. Set optimized Featured Images anywhere, not just on products.

Free vs PRO

The free version optimizes every image you upload or edit through the Xray Studio. If you also need to:

  • batch-optimize and convert your entire existing Media Library to WebP in one click,
  • automatically watermark product images,
  • generate Alt Text with AI,
  • see a real-time savings dashboard (images optimized, MB saved, WebP conversions),
  • one-click backup & restore of originals,
  • export / import settings across sites,

those are available in Xray PRO.

How it works

  1. Drag & drop your files into the native WooCommerce Studio box.
  2. Xray crops, compresses and generates a WebP version on the fly while preserving quality; check the result with the Before/After slider.
  3. Images are attached to the product (or post/page) with optimized SEO metadata, ready to rank on Google Images.

Screenshots

Installation

  1. Upload the plugin files to the /wp-content/plugins/xray-product-image-optimizer directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. A new ‘Image Optimizer’ box will appear on the product (and post/page) edit screen, plus an ‘Image Optimizer’ entry under Media.
  4. Open the Studio to start optimizing your images.

FAQ

How does this image optimizer improve my WooCommerce speed?

Xray reduces image file sizes through real image compression and converts them to the lightweight WebP format. Smaller images load faster, which improves your Google PageSpeed Insights score, your Core Web Vitals (especially LCP) and overall page load time on shop and product pages.

Is Xray better than a generic image optimization plugin?

Xray is built specifically for WooCommerce. Instead of blindly compressing every file in your Media Library, it integrates into the product edit screen and gives store owners a tailored studio for Featured Images, galleries, cropping and image SEO.

Does it modify my original images?

By default Xray creates an optimized WebP version and keeps your original JPG/PNG file as a backup. If you enable Auto-Crop, the image is modified directly to apply the crop. Automatic Watermarking (which also modifies images) is a PRO feature.

Does the free version convert my whole existing Media Library to WebP?

No. The free version converts the images you upload or edit through the Xray Studio. Batch-processing your entire existing catalog in one click is a PRO feature.

Do I need to configure NGINX or Apache for WebP?

No. Images processed through the Xray Studio are saved directly as WebP files, so no server rewrite rules or delivery layer are required.

Does Xray work without WooCommerce?

Yes. WooCommerce unlocks the product Featured Image and Gallery workflow, but the Studio also works for Featured Images on standard WordPress posts and pages.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Xray: Image Optimizer for WooCommerce (Compress, Resize & Convert to WebP)” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.1.1

  • Improved: rewritten plugin description, FAQ and keywords for clarity and discoverability.
  • Improved: FAQ now covers PageSpeed, Core Web Vitals and using Xray without WooCommerce.
  • Housekeeping: verified compatibility with the current WordPress and PHP releases. No functional changes to the optimizer.

2.1.0

  • Fixed: Alt Text was not being saved correctly on upload due to a data key mismatch between the Studio and the server.
  • Fixed: Removing a gallery image from the Studio was not actually unlinking it from the product.
  • Added: Full support for standard Posts and Pages (upload Featured Image via Studio).
  • Added: Before/After comparison slider in the upload preview.
  • Improved: plugin description and FAQ to accurately reflect free vs PRO features.
  • Verified compatibility with the latest WordPress and PHP releases.

2.0.1

  • Removed Freemius initialization from the Free version to comply with repository guidelines.
  • Fixed an issue where the global default quality was not applied properly during drag & drop uploads.
  • Added automatic file renaming based on SEO title for better indexing.
  • Added support for standard Posts and Pages (upload Featured Image via Studio).
  • Enlarged SEO Description field for better readability.
  • Improved estimated file size calculations in the UI.

2.0.0

  • Complete architecture rewrite.
  • Added React-based Glassmorphism UI.
  • Added drag & drop upload Studio on the product edit screen.
  • Added on-upload WebP conversion and compression.
  • Added Bulk Optimizer for the existing Media Library (PRO).
  • Improved performance and UI layout.
  • Added full compatibility with WordPress 6.7 and PHP 8.1.

1.0.0

  • Initial release.