← ImgSEO Blog

The Complete Image SEO Guide (2026)

Master image SEO in 2026: filenames, alt text, compression, metadata, WebP, Core Web Vitals, and best practices for e-commerce rankings.

Image SEO is one of the most consistently overlooked channels in search engine optimization. Most SEO guides focus on text — keywords, backlinks, page structure. But for e-commerce stores, images are often the primary content on a page, and they represent a significant untapped traffic opportunity.

This guide covers everything you need to know about image SEO in 2026: filenames, alt text, metadata, compression, modern formats, and Core Web Vitals.

What is image SEO?

Image SEO is the practice of optimizing digital images so that search engines can discover, understand, and rank them in search results — including Google Images, Google Shopping, and standard web search.

When someone searches for "blue leather handbag" on Google, the results include both web pages and images. The images that appear there didn't end up there by accident. They were optimized with the right signals: descriptive filenames, accurate alt text, appropriate file sizes, and proper page context.

For e-commerce stores, image SEO directly impacts product discoverability. A well-optimized product image can drive traffic from users who are actively searching for exactly what you sell.

Filenames

The filename is the first signal Google uses to understand what an image shows.

IMG_4821.jpg tells Google nothing. blue-leather-tote-bag-women.jpg tells Google the color, material, product type, and target customer.

Best practices:

  • Use descriptive, lowercase words separated by hyphens
  • Include the primary keyword for the product
  • Keep it concise — 3 to 5 words is enough
  • Avoid underscores, spaces, and special characters

Examples:

  • red-ceramic-coffee-mug-handmade.jpg
  • mens-slim-fit-oxford-shirt-white.jpg
  • vintage-brass-compass-leather-case.jpg

Alt text

Alt text is the text description of an image that lives in the HTML of your page. Google reads it to understand image content. Screen readers use it for accessibility.

Most e-commerce stores either leave alt text empty or use their product title — both are missed opportunities.

The formula that works: [color] [material] [product type] [distinguishing feature], [context]

Examples:

  • Handmade red ceramic coffee mug with speckled glaze, 12oz
  • Men's slim fit white Oxford shirt with button-down collar
  • Vintage brass compass in brown leather case, gift for travelers

What to avoid:

  • Empty alt text (invisible to Google)
  • Keyword stuffing (buy cheap leather bag leather handbag sale)
  • Generic descriptions (product image, photo)
  • Identical alt text across multiple images of the same product

Embedded metadata

Beyond what lives in your HTML, image files themselves can store metadata — titles, descriptions, keywords, and copyright information embedded directly in the file using EXIF and IPTC standards.

Google reads this metadata and uses it as an additional signal for understanding image content. When your filename, alt text, and embedded metadata all describe the same product consistently, the combined signal is stronger than any single element alone.

The practical challenge: writing embedded metadata manually requires technical tools. AI-powered tools like ImgSEO generate and embed this metadata automatically during the optimization process.

File size and compression

Large image files slow down your pages. Slow pages rank lower and convert worse.

Google's Core Web Vitals include Largest Contentful Paint (LCP) — a measure of how quickly the main content of a page loads. For product pages, the main content is almost always an image. Large, uncompressed images directly hurt your LCP score.

Targets:

  • Product thumbnails: under 50KB
  • Hero images: under 150KB
  • Background images: under 100KB

Compression approaches:

  • Lossy compression (JPEG): reduces file size significantly with minor quality loss — appropriate for photographs
  • Lossless compression (PNG): reduces file size without quality loss — appropriate for logos and graphics with transparency
  • WebP: modern format that achieves better compression than both JPEG and PNG — supported by all major browsers

Modern formats: WebP and AVIF

WebP and AVIF are image formats designed for the web. They produce smaller files than JPEG and PNG at equivalent quality.

WebP: 25–35% smaller than JPEG. Supported by all major browsers since 2020. The standard choice for new web projects.

AVIF: 50% smaller than JPEG in some cases. Excellent quality at low file sizes. Support is growing but not yet universal.

For most e-commerce stores in 2026, converting product images to WebP is the highest-ROI format change available.

Image dimensions

Serving images at the correct dimensions prevents browsers from downloading large images and scaling them down — a common source of unnecessary file size.

If your product image displays at 400×400 pixels on the page, serve a 400×400 pixel image (or 800×800 for retina displays). Serving a 2000×2000 pixel image scaled to 400×400 wastes bandwidth and hurts page speed.

Structured data

For e-commerce products, ImageObject structured data tells Google additional information about your product images — the URL, caption, and content URL. This can enhance how your images appear in rich results.

For recipe and how-to content, images included in HowTo and Recipe structured data may appear in dedicated image slots in Google Search.

Core Web Vitals checklist for images

  • Compress all images — target under 150KB for above-the-fold images
  • Use WebP format where possible
  • Serve images at the correct dimensions
  • Use loading="lazy" for below-the-fold images
  • Use fetchpriority="high" for the primary hero image
  • Specify width and height attributes to prevent layout shift (CLS)

The bottom line

Image SEO is not a single tactic — it's a stack of signals that work together. Filenames tell Google what the image shows. Alt text reinforces that. Embedded metadata adds depth. Compression ensures fast loading. Format choices affect file size. Structured data can unlock rich results.

Most e-commerce stores are weak on all of these. The stores that optimize even a few of them consistently outperform competitors who treat images as an afterthought.

Optimize your product images with AI

Generate SEO titles, alt text, tags, filenames, and metadata in seconds.