Skip to main content
Skip to main content
Back to Guides
WooCommerce Image SEO Guide: Rank Higher With Better Photos

WooCommerce Image SEO Guide: Rank Higher With Better Photos

By Scrippt Dev··12 min read
Share

Learn how to optimise every product image in your WooCommerce store for search engines. Get more organic traffic with file names, alt text, and compression.

You uploaded 200 product photos last weekend. Each one was named something like IMG_4582.jpg or Screenshot 2025-03-14 at 10.42.png. You dragged them into WooCommerce, hit publish, and moved on to the next task on your never-ending list.

Google has no idea what those images show. Neither do screen readers used by visually impaired shoppers. And because each photo is a 4MB file straight from your camera, your pages load so slowly that visitors bounce before the product even appears.

Image SEO is one of the highest-impact, lowest-effort optimisations you can make to a WooCommerce store. Done well, it drives traffic from Google Image Search (which accounts for over 20% of all web searches), speeds up your site, improves accessibility, and helps your product pages rank higher in regular search results too.

This guide covers every step — from naming your files before upload to automating compression at scale — so every image in your store pulls its weight.

53%

53% of mobile users abandon a site that takes more than 3 seconds to load. Large, uncompressed product images are the single most common cause of slow WooCommerce stores — and most stores haven't addressed it.

Why Images Matter More Than You Think for SEO

Search engines can't "see" photos the way humans do. Google relies on signals surrounding an image — the file name, the alt text (a short description you assign to each image), the page context, and the file size — to understand what the image shows and whether it's relevant to a searcher's query.

When those signals are missing or generic, you lose out in three ways:

  1. You're invisible in Google Image Search. Shoppers searching for "handmade ceramic mug with speckled glaze" will never find your product if Google only sees IMG_4582.jpg.
  2. Your page speed suffers. Large, uncompressed images are the number-one cause of slow WooCommerce stores. Google uses page speed as a ranking factor, and slow pages have measurably higher bounce rates.
  3. You exclude shoppers who use assistive technology. Screen readers announce the alt text you provide. Without it, a visually impaired visitor hears "image" — and nothing else.

Before/After Example

Let's say you sell hand-poured soy candles. Here's what a poorly optimised image looks like versus an optimised one:

ElementBeforeAfter
File nameIMG_7821.jpglavender-soy-candle-8oz-glass-jar.jpg
Alt text(empty)Lavender soy candle in an 8oz glass jar with a cotton wick
File size3.8 MB142 KB
FormatPNGWebP with JPEG fallback
Dimensions4000 × 3000 px800 × 800 px

The "After" version loads 26 times faster, tells Google exactly what the product is, and appears in image search results for relevant queries. Same photo — dramatically different performance.

Step 1: Name Your Files Before You Upload

This is the single easiest win in image SEO, and it has to happen before you upload the file to WooCommerce. Once a file is uploaded, changing the file name in WordPress doesn't change the actual URL — you'd need a plugin or manual database editing to fix it after the fact.

How to Name Files Correctly

Follow these rules for every product image:

  1. Use lowercase words separated by hyphens. Google reads hyphens as word separators. Underscores and spaces don't work the same way. Use blue-wool-scarf.jpg, not Blue_Wool_Scarf.jpg or blue wool scarf.jpg.
  2. Describe the product, not the shot. Instead of front-view.jpg, use blue-merino-wool-scarf-front.jpg. Include the product name, a key attribute (colour, material, size), and optionally the angle.
  3. Keep it concise. Aim for 3–6 descriptive words. You don't need a sentence — just enough for Google to understand context.
  4. Match your target keywords naturally. If customers search for "merino wool scarf," that phrase should appear in the file name. Don't stuff keywords — one natural phrase is enough.

Batch renaming tip: If you have dozens of photos to rename, use a free tool like Bulk Rename Utility (Windows) or Finder's built-in rename feature (Mac) to add a common prefix to a batch of files, then customise each one individually.

Rename files before uploading — you can't easily fix it after

Once a file is uploaded to WordPress, changing its name doesn't update the URL in the database. Always rename image files on your computer before they go into WooCommerce. This is a one-time habit that costs nothing and pays off every time.

Step 2: Write Alt Text That Describes and Sells

Alt text (short for "alternative text") is a brief description you attach to every image. It serves two purposes: it tells search engines what the image contains, and it's read aloud by screen readers for accessibility.

In WooCommerce, you add alt text when you upload or select an image in the media library. Click on any image and you'll see an "Alt Text" field on the right-hand side.

The Formula for Great Alt Text

Write alt text as if you're describing the image to someone over the phone. Be specific, be accurate, and include your primary keyword once — naturally.

Good examples:

  • Hand-poured lavender soy candle in a clear 8oz glass jar on a marble countertop
  • Women's oversized blue merino wool scarf draped over a wooden coat hook
  • Set of three stacking gold rings with hammered texture on a linen background

Bad examples:

  • candle (too vague)
  • buy cheap candle best candle soy candle lavender candle (keyword stuffing — this hurts your rankings)
  • image1 (tells nobody anything)

Alt Text Rules to Follow

  • Keep it under 125 characters. Screen readers cut off longer descriptions.
  • Don't start with "Image of" or "Photo of." Screen readers already announce it as an image, so this is redundant.
  • Write unique alt text for every image. If you have five photos of the same product from different angles, each alt text should reflect what's different — ...front view, ...close-up of stitching, ...worn on model.
  • Decorative images get empty alt text. If an image is purely decorative (a background pattern, a divider line), set the alt text to empty — literally leave the field blank. This tells screen readers to skip it.

Writing alt text for a large catalogue by hand takes time. The free alt text generator lets you paste in a product name and keywords and get an optimised description in seconds — useful when you're working through a backlog of untagged images.

Step 3: Compress and Resize Every Image

This is where most WooCommerce store owners leave the biggest performance gains on the table. A typical product photo from a DSLR camera or even a modern smartphone can be 3–8 MB. Your product images should be under 200 KB — ideally under 100 KB.

Resize First, Compress Second

These are two different steps:

  1. Resize means reducing the pixel dimensions. If your WooCommerce theme displays product images at 800 × 800 pixels, uploading a 4000 × 3000 pixel image means the browser downloads an enormous file and then shrinks it for display. Resize your images to the actual display size before uploading. Common WooCommerce product image sizes are 800 × 800 or 1000 × 1000 pixels.

  2. Compress means reducing the file size without noticeably reducing quality. There are two types:

    • Lossy compression removes some image data permanently. At quality settings of 75–85%, the difference is invisible to the human eye but the file size drops dramatically.
    • Lossless compression removes only unnecessary metadata without any quality loss, resulting in a smaller reduction.

Tools for Compression

You have two approaches:

Compress before upload (recommended for new images):

  • Use a free tool like Squoosh (squoosh.app) to resize and compress individual images in your browser
  • Use a desktop app like ImageOptim (Mac) or FileOptimizer (Windows) for batches

Compress automatically with a plugin (essential for existing images):

  • ShortPixel — compresses images on upload and can bulk-optimise your entire media library. Offers a generous free tier.
  • Imagify — made by the same team as WP Rocket. Simple interface with automatic compression levels.
  • Smush — popular free option that handles basic compression well.

Pick one plugin. Install it. Run the bulk optimisation on your existing library. Then set it to automatically compress every future upload. This single action can cut your total page weight by 50–70%.

Don't skip the resize step before compressing

Compressing a 4000 × 3000 pixel image to a smaller file size still makes the browser download a massive image and then shrink it for display. Resize images to your theme's actual display dimensions (usually 800–1000px) before compressing — this is where the biggest file size gains come from.

If your WooCommerce store feels sluggish even after image optimisation, the issue might be your hosting. A performance-focused WordPress host makes a measurable difference — check out our recommended hosting resources for options built specifically for WooCommerce speed.

Step 4: Serve Modern Image Formats

Your images are probably saved as JPEG or PNG. Both formats are decades old. Modern formats deliver the same visual quality at significantly smaller file sizes:

  • WebP — developed by Google. Reduces file size by 25–35% compared to JPEG at equivalent quality. Supported by every major browser.
  • AVIF — even more efficient than WebP (up to 50% smaller than JPEG), though browser support is slightly less universal.

The good news: you don't need to manually convert anything. Most of the compression plugins mentioned above (ShortPixel, Imagify, Smush) can automatically convert your images to WebP on the fly and serve the original JPEG as a fallback for older browsers.

How to Enable WebP in WooCommerce

  1. Install your chosen image optimisation plugin (ShortPixel, Imagify, or Smush).
  2. Go to the plugin's settings and enable "WebP conversion" or "Serve WebP versions."
  3. Choose the delivery method — most plugins offer an .htaccess method (fastest) or a <picture> tag method (most compatible).
  4. Run the bulk converter to create WebP versions of your existing images.
  5. Test your site by opening a product page, right-clicking an image, and selecting "Open image in new tab." The URL should end in .webp.

Step 5: Add Structured Data for Product Images

Structured data (also called schema markup) is code that tells search engines specific facts about your page — the product name, price, availability, and the image. When Google understands your product images through structured data, your products can appear as rich results with images directly in the search results page.

Most WooCommerce stores already generate basic product schema automatically. But you should verify it includes your images:

  1. Go to Google's Rich Results Test.
  2. Enter a product page URL from your store.
  3. Look for the "Product" result type and check that the image property is populated.

If images are missing from your schema, a plugin like Yoast SEO or Rank Math (both have free versions) will add them automatically when properly configured. Ensure your product's featured image is set in WooCommerce — that's the image most schema plugins pull into the structured data.

For a full picture of what else might need fixing across your store's SEO, run your site through our free website audit tool. It checks structured data, page speed, meta tags, and more in under a minute.

Step 6: Optimise Your Image Sitemaps

A sitemap is a file that lists all the pages (and images) on your site so search engines can find and index them efficiently. WooCommerce and most SEO plugins generate sitemaps automatically, but not all of them include images by default.

Check and Fix Your Image Sitemap

  1. Visit yourstore.com/sitemap.xml in your browser. You should see an XML file listing your pages.
  2. Click into a product page entry and look for <image:image> tags. If they're present, your images are being included.
  3. If images are missing, check your SEO plugin settings. In Yoast SEO, image sitemaps are enabled by default. In Rank Math, go to Sitemap Settings and ensure the toggle is on.

Once your image sitemap is in place, submit it to Google Search Console (under Sitemaps in the left menu). This ensures Google discovers your product images quickly whenever you add new products.

Your Image SEO Checklist

Before you publish any new product in WooCommerce, run through this quick checklist:

  • File named with descriptive, hyphenated, lowercase keywords
  • Resized to the actual display dimensions (usually 800–1000px wide)
  • Compressed to under 200 KB (ideally under 100 KB)
  • Saved or auto-converted to WebP format
  • Alt text written — specific, under 125 characters, includes primary keyword naturally
  • Featured image set in the WooCommerce product editor
  • Structured data verified with Google's Rich Results Test

Start With What You Have

You don't need to re-photograph your entire catalogue. Start with your top 20 products — the ones that generate the most revenue or the most traffic. Rename the files if you can (re-upload with proper names), write proper alt text for each image, install a compression plugin, and enable WebP conversion.

That single session — probably 60 to 90 minutes of work — will make a measurable difference in your page speed scores and your visibility in Google Image Search. Once you've seen the results, work through the rest of your catalogue in batches.

WebP cuts file size by 25–35% with no visible quality loss

Every major browser now supports WebP. Install a compression plugin that auto-converts images on upload and you get smaller files, faster pages, and better rankings — without touching a single image manually.

Key takeaway

Start with your top 20 products. Install a compression plugin (ShortPixel or Imagify), run the bulk optimiser, rename existing images where you can, and write descriptive alt text for each. That one session — 60 to 90 minutes — will measurably improve your page speed and Google Image Search visibility.

The best image SEO strategy is the one that becomes a habit. Build these steps into your product upload workflow so every new listing is optimised from day one.

Free tool

Generate alt text for your product images in seconds.

Describe your image and get SEO-optimised alt text that improves accessibility and helps your products rank in Google Image Search. Free, no sign-up.

Try the Alt Text Generator →