How to Optimize Images for SEO: 9 Steps to Faster Rankings

by | Aug 20, 2026 | Uncategorized | 0 comments

If your pages are loading slowly or your visuals never show up in Google Images, your image SEO is probably leaking traffic. Images represent more than 20% of all web requests, and Google Images still drives a huge share of visual search queries in 2026. The good news: optimizing images is one of the fastest SEO wins you can score, because most competitors still get it wrong.

In this practical walkthrough, we share the exact 9-step process our team at King Content Agency uses to help clients rank in Google Images and improve Core Web Vitals at the same time. Expect concrete before/after examples, not fluff.

Why Image SEO Matters More Than Ever in 2026

Google’s visual search (Lens, Circle to Search, AI Overviews with images) keeps growing. At the same time, the Interaction to Next Paint (INP) metric penalizes heavy, unoptimized pages. Good image SEO now serves three goals:

  • Ranking in Google Images and gaining extra visibility in classic SERPs.
  • Improving page speed and Core Web Vitals (LCP, INP, CLS).
  • Boosting accessibility, which Google increasingly rewards.
camera lens photos

The 9-Step Image SEO Checklist

1. Choose the Right Image Format

Format is your first optimization lever. Here is a quick decision table:

Format Best Use Case Notes
AVIF Photos, hero images Best compression, supported by all modern browsers
WebP General fallback 30% lighter than JPEG, universal support
SVG Logos, icons Scalable, tiny file size
JPEG Legacy fallback Only if AVIF/WebP unavailable
PNG Transparency needed Heavy, use sparingly

Before/After: A 1.4 MB JPEG hero image saved as AVIF at quality 60 dropped to 118 KB with no visible quality loss.

2. Rename Files With Descriptive Keywords

Google reads file names as ranking signals. Stop uploading IMG_2049.jpg.

  • Bad: DSC00123.png
  • Good: blue-running-shoes-nike-pegasus-41.webp

Use hyphens (not underscores), lowercase letters, and 3 to 6 descriptive words. Match the file name to what a user would type in Google Images.

3. Write Alt Text That Serves Users First

Alt text has two jobs: help visually impaired users and describe the image to Google. It is not a place to stuff keywords.

Formula: [Subject] + [Action/Context] + [Relevant detail]

  • Bad: “seo, image seo, optimize image, ranking”
  • Okay: “blue running shoes”
  • Great: “Blue Nike Pegasus 41 running shoes on a wet asphalt track”

Leave alt attributes empty (alt="") for purely decorative images so screen readers skip them.

4. Compress Every Image Before Upload

Even in the correct format, images often carry unnecessary weight. Use tools like Squoosh, ShortPixel, or TinyPNG. Aim for:

  • Hero images: under 150 KB
  • Content images: under 80 KB
  • Thumbnails: under 20 KB

Before/After example on a real client:

Metric Before After
Page weight 4.8 MB 890 KB
LCP 4.1 s 1.6 s
Mobile PageSpeed score 47 92

5. Serve Responsive Images With srcset

Never send a 2000 px desktop image to a 375 px mobile screen. Use the srcset and sizes attributes:

<img
  src="shoes-800.webp"
  srcset="shoes-400.webp 400w, shoes-800.webp 800w, shoes-1600.webp 1600w"
  sizes="(max-width: 600px) 400px, (max-width: 1200px) 800px, 1600px"
  alt="Blue Nike Pegasus 41 running shoes on wet asphalt"
  width="800"
  height="600">

Always specify width and height to prevent Cumulative Layout Shift (CLS).

6. Enable Lazy Loading (The Right Way)

Lazy loading defers off-screen images until users scroll. It is a one-attribute win:

<img src="chart.webp" loading="lazy" alt="Traffic growth chart">

Important: Do NOT lazy load your LCP image (usually the hero). Instead, use fetchpriority="high":

<img src="hero.webp" fetchpriority="high" alt="...">

7. Add Structured Data When Relevant

For product, recipe, or article images, add appropriate Schema.org markup. Google uses it to display image badges (like “Recipe” or “Product”) in image results, which boosts CTR significantly.

8. Create and Submit an Image Sitemap

An image sitemap helps Google discover images that JavaScript or lazy loading might otherwise hide. You can either:

  • Add image entries to your existing XML sitemap using <image:image> tags, or
  • Create a dedicated image-sitemap.xml and submit it in Google Search Console.

Most SEO plugins (Yoast, Rank Math, SEOPress) do this automatically. Verify it is enabled. See imageseo.io for their take.

9. Add Context Around Your Images

Google reads the surrounding text, captions, and page title to understand what an image is about. To boost rankings:

  • Place images near relevant, keyword-rich text.
  • Use descriptive captions (users read captions 300% more than body copy).
  • Ensure the page URL and H1 reinforce the image topic.
camera lens photos

Common Image SEO Mistakes to Avoid

  • Uploading images straight from a DSLR at 6000 px wide.
  • Using generic stock photos everyone else uses (originality helps ranking).
  • Blocking your image folder in robots.txt.
  • Hotlinking images from other domains (they get the SEO credit, not you).
  • Forgetting to update alt text when reusing images on multiple pages.
camera lens photos

Tools We Recommend in 2026

Tool Purpose
Squoosh Manual compression & format conversion
ShortPixel / Imagify Bulk WordPress optimization
ImageSEO.io AI-generated alt text at scale
PageSpeed Insights Measure LCP & image impact
Google Search Console Track image sitemap indexing

Frequently Asked Questions

What is image SEO?

Image SEO is the process of optimizing images (file name, format, size, alt text, structured data, and sitemap inclusion) so they rank in Google Images and contribute positively to page performance and overall SEO.

Can Google read text inside images?

Yes. Google uses OCR and AI vision models to extract text from images, but you should never rely on it. Always provide the same information in HTML text, alt attributes, and captions.

How many images should I put on a page?

There is no magic number. Use as many as needed to support your content, but keep total page weight under 1 MB when possible. Quality and relevance beat quantity.

Does alt text still matter for SEO in 2026?

Absolutely. Alt text remains one of the strongest signals for Google Images ranking and is essential for accessibility compliance (WCAG 2.2 and the European Accessibility Act now enforced). There’s a fuller breakdown if you want the detail.

Is WebP or AVIF better for SEO?

AVIF offers roughly 20 to 30% better compression than WebP at similar quality. Both are supported by all modern browsers in 2026. Use AVIF when your CMS supports it, WebP as a solid fallback.

Ready to Boost Your Image SEO?

Implementing these 9 steps typically moves clients from a Mobile PageSpeed score in the 40s to the 90s within a few weeks, while unlocking new streams of Google Images traffic. If you want our team to audit your site and handle the optimization for you, get in touch with King Content Agency. We turn heavy, invisible images into ranking assets.

Search Keywords

Recent Posts

Subscribe

Subscription Form

Follow Us