WordPress Image SEO: The 2026 Step-by-Step Tutorial

By the ImageSEO Team. April 2026. ~12 min read.

WordPress runs ~43% of the web. It also has the worst default image SEO of any major CMS. The good news: a few configuration changes (most of them free) close the gap quickly.

This is the tutorial we use when we audit a WordPress site for image SEO. Run through it on your own site in about 30 minutes.

Before you start: take a backup

Some of the changes below modify your media library or theme. Take a backup first. UpdraftPlus (free) is the easiest way — install it, click “Backup Now”, done. If something goes wrong, you can restore in 2 minutes.

Step 1: Install a real SEO plugin

If you don’t already have RankMath or Yoast (or AIOSEO), install one now. We prefer RankMath (free) because it’s lighter and gives you more out of the box, but Yoast is fine too.

What it does for image SEO:

  • Generates an image sitemap automatically
  • Adds ImageObject schema to your blog posts
  • Lets you set a default image for Open Graph and Twitter cards
  • Warns you about missing alt text in the post editor

Step 2: Audit your existing alt text

Most WordPress sites have 60-80% of their images missing alt text. To check yours:

  1. Go to Media Library → Switch to List View
  2. Look at the “Alt Text” column (you may need to enable it via Screen Options)
  3. Sort by alt text — empty values float to the top

If you have more than ~50 images missing alt text, manual fixing is impractical. Use a bulk tool — see Step 3.

Step 3: Bulk-add alt text with AI

This is where image SEO went from “tedious manual work” to “click and forget” in 2026. Modern AI vision models generate descriptive alt text that matches what a human would write — at the rate of dozens of images per minute.

ImageSEO does this directly inside your WordPress admin. You select a folder or set of images, click “Generate Alt Text”, and the alt fields populate. Review and approve.

The key: review the AI output before publishing. AI is ~95% accurate but it doesn’t know your brand voice, your target keywords, or context-specific details. A 30-second review per image is worth it.

Step 4: Convert images to WebP

WebP is 30-50% smaller than JPEG at the same quality. For an image-heavy WordPress site, this is the single biggest page-speed win you can make. Two free options:

  • WP Optimize (free): Bulk converts existing JPEGs to WebP, serves them automatically with a JPEG fallback for older browsers.
  • ShortPixel (free tier): Cloud-based conversion, 100 images/month free, paid tiers for more.

Don’t skip the JPEG fallback — Safari only added full WebP support in 2020 and you still see occasional broken images on very old browsers without it.

Step 5: Enable native lazy loading

Good news: WordPress 5.5+ enables native loading="lazy" on all images automatically. You don’t need a plugin.

The catch: if you have a JavaScript lazy-load plugin from 2018, it might be conflicting with the native one. Symptoms: images not loading, layout shifts, broken image references in Google Search Console. If you see any of these, deactivate the old plugin and let WordPress do it natively.

Step 6: Add width and height attributes

Cumulative Layout Shift (CLS) is a Core Web Vital. Images that load without explicit width and height attributes cause the page to “jump” as they load, which kills your CLS score and your ranking.

WordPress automatically adds these attributes to images uploaded through the Media Library since 2022. If you have older images that don’t have them, the easiest fix is to re-edit each post and re-insert the image (the new insertion includes the dimensions).

Step 7: Set up an image sitemap

Both RankMath and Yoast generate an image sitemap automatically. After enabling, submit it to Google Search Console:

  1. Go to Search Console → Sitemaps
  2. Add sitemap-images.xml (or whatever your plugin generates)
  3. Wait 2-7 days for Google to crawl
  4. Check the Image search performance report to see results

Step 8: Add ImageObject schema

RankMath adds basic ImageObject schema automatically when you enable the Article schema type. For maximum AI Overview visibility, manually add the following fields to each blog post hero image:

  • contentUrl — direct link to the image file
  • creator — author name
  • creditText — attribution
  • license — link to your license page

Step 9: WooCommerce-specific tips

If you’re running WooCommerce, your product images are 80% of your image SEO opportunity. Three changes that move the needle:

  • Use the product name in the file name. Don’t upload IMG_4521.jpg — rename to handmade-blue-ceramic-mug-12oz.jpg before upload.
  • Set the alt text per product, not per gallery image. If a product has 5 angles, each should have a unique alt: “front view”, “side view”, etc.
  • Add Product schema with image array. WooCommerce does this by default if you have a Product schema plugin enabled.

Step 10: Elementor-specific tips

Elementor’s image widget has a great alt text field — but a lot of users skip it. Make a habit of filling alt text on every single Elementor image widget. The widget pulls from the Media Library by default, but you can override per-instance if the same image needs different alt in different contexts.

The 30-minute action plan

  1. (2 min) Take a backup with UpdraftPlus
  2. (3 min) Install RankMath if you don’t have it
  3. (5 min) Install WP Optimize and run a WebP conversion in the background
  4. (2 min) Submit your image sitemap to Search Console
  5. (15 min) Audit your top 10 most-trafficked pages and fix their alt text manually
  6. (3 min) Bulk-fix the rest with an AI tool

That’s 30 minutes for a one-time setup that should give you 6-12 months of compounding image SEO returns. For the deeper theory, see our image SEO 2026 guide or our breakdown of how to rank in Google Image Search.

FAQ

Does WordPress automatically optimize images for SEO?

Mostly no. WordPress handles a few things automatically (responsive images via srcset, native lazy loading) but the most important parts (alt text, file names, schema, WebP) require either manual work or a plugin.

What’s the best WordPress image SEO plugin?

Depends what you need. RankMath is the best free general SEO plugin (includes basic image SEO). For dedicated image SEO with AI alt text generation, ImageSEO is what we built.

Should I install both RankMath and WP Optimize?

Yes, they don’t conflict. RankMath handles SEO metadata (titles, descriptions, schema, sitemaps). WP Optimize handles performance (caching, image compression, WebP). Different jobs.

Will converting to WebP break old links?

Not if you use a plugin that serves WebP automatically with a JPEG fallback. The JPEG file stays in place; WebP is served only when the browser supports it. Old links continue to work.

How long does it take to see image SEO results?

You’ll see the first changes in Google Search Console within 7-14 days. Meaningful traffic improvements take 1-3 months. Top-3 rankings for competitive terms take 3-12 months — the same as regular SEO.

ImageSEO handles the image side of WordPress SEO. Two other tools we’d pair with it on any content-heavy site:

  • SitemapFixer — finds orphan pages, 404s in your sitemap, missing lastmod timestamps, and auto-fixes them. If your sitemap is broken, Google can’t see the images ImageSEO just optimized. Fix the sitemap first. It’s free to audit.
  • TranscribeVideo.ai — if any of your WordPress posts embed YouTube videos or podcast episodes, you’re leaving a huge amount of text invisible to Google and AI search engines. TranscribeVideo.ai returns clean transcripts with speaker labels and timestamps in minutes, and the output plugs straight into WordPress as a <details> block or structured data.

Together, the three tools fix the three biggest silent SEO leaks on a typical WordPress site: broken crawl structure, blank alt text, and untranscribed video. We wrote a longer walkthrough on the complete 2026 SEO stack here.

Our SEO Tool will grow your traffic

Why have you neglected images search engine optimization for so long ?

Try it for free
\n