Complete WordPress Image SEO Guide

Complete WordPress Image SEO Guide Complete WordPress Image SEO Guide


Last Updated: 7 June 2026
Originally Published: 15 October 2025 By Shaiful Mozumder | Reviewed by David Brown


Uncompressed images are the single most common cause of LCP failure on WordPress sites — and LCP (Largest Contentful Paint, meaning the time it takes for the main visible element on a page to load) is a confirmed Google ranking signal (Source: web.dev, 2024). Most WordPress image SEO guides lead with alt text. Alt text matters. But a page where the hero image takes 4.2 seconds to load will not rank, regardless of how well the alt text is written.

This post goes deeper than the WordPress SEO: The Complete Guide to Optimising Your WordPress Site in 2026 could on this layer: image SEO as a two-track discipline — speed optimisation first, discovery optimisation second — and why reversing that order is the mistake most WordPress publishers make.

The angle most image SEO guides miss: WebP conversion and compression are not optional extras. They’re the load-bearing fixes that make everything else — alt text, file naming, image schema — worth doing.

Post Summary

  • WordPress image SEO covers two distinct tracks: speed optimisation (WebP conversion, compression, lazy loading, correct dimensions) and discovery optimisation (alt text, file naming, image schema, Google Image Search) — both required, speed first
  • LCP failure caused by uncompressed images suppresses rankings for the entire page — no alt text improvement compensates for a 4-second image load on mobile
  • WebP format reduces image file size by 25–34% compared to JPEG at equivalent visual quality, and by up to 26% compared to PNG (Source: Google, 2024)
  • Converting 1,200 images to WebP and adding descriptive alt text to 340 empty fields increased Google Image Search impressions 4× within 12 weeks — but the LCP improvements drove more ranking gains than the Image Search gains
  • AI crawlers including GPTBot parse alt text as a primary content signal for images — descriptive alt text increases AI citation probability for image-heavy content
  • AI audit prompt: “Review these image file names and alt text values from my WordPress site. Identify empty alt text fields, generic file names (image1.jpg, screenshot.png), and alt text that matches the file name exactly. Output as: Image URL | Issue | Recommended alt text”

Speed Track First: Why Uncompressed WordPress Images Kill Rankings Before Alt Text Can Help

43% of WordPress sites fail the LCP Core Web Vital on mobile — and uncompressed images are the primary cause in the majority of those failures (Source: HTTP Archive, 2024).

LCP measures how long the largest visible element on a page takes to render. On most WordPress content pages, that element is the featured image or a hero image in the post body. An uncompressed 3MB JPEG uploaded directly from a camera or stock site loads in 3–5 seconds on a typical mobile connection — well above Google’s 2.5-second Good threshold.

Most practitioners treat image compression as a performance task separate from SEO. That separation doesn’t exist in Google’s ranking systems. A page failing LCP because of image load time is penalised in rankings in the same way as a page failing LCP because of render-blocking scripts — the cause is irrelevant to the ranking signal. The threshold is the threshold.

Working on a UK travel blog using WordPress, Google Search Console, and ShortPixel, we converted 1,200 images to WebP and added descriptive alt text to 340 previously empty image fields. Google Image Search impressions increased 4× within 12 weeks. The expected outcome: alt text additions would produce the largest traffic gain. That didn’t hold. WebP conversion reduced page load time sufficiently to push 14 posts over the LCP threshold — from Needs Improvement to Good — and those ranking improvements across organic search drove more traffic than the Image Search gains from alt text. The speed track delivered more than the discovery track. Not because alt text doesn’t matter — it does — but because LCP failure was suppressing the pages entirely before discovery signals could operate.

Run Google PageSpeed Insights on your three highest-traffic posts at mobile setting. If LCP is above 2.5 seconds and the diagnostic shows an image as the LCP element, the speed track is your first action queue — not alt text.


WebP Conversion: The Single Highest-Return Image SEO Action on WordPress

WebP is an image format developed by Google that produces smaller file sizes than JPEG and PNG at equivalent or better visual quality — 25–34% smaller than JPEG and up to 26% smaller than PNG (Source: Google, 2024).

WordPress has natively supported WebP uploads since version 5.8 (Source: WordPress.org, 2021). Existing JPEG and PNG images already uploaded to your media library are not automatically converted — that requires a plugin.

ShortPixel and Imagify are the two most widely deployed WordPress image optimisation plugins for WebP conversion. Both convert existing images in the media library in bulk, serve WebP to browsers that support it (all modern browsers), and fall back to JPEG/PNG for browsers that don’t. ShortPixel converts at the server level and stores both the original and the WebP version — Imagify operates similarly but includes an in-built lazy loading configuration that integrates with its compression settings.

PluginBulk ConversionLazy LoadingCDN IntegrationFree TierWebP Fallback
ShortPixelYesVia separate pluginYes150 images/monthYes — automatic
ImagifyYesBuilt-inYes25MB/monthYes — automatic
SmushYesBuilt-inPro onlyYes — unlimitedYes
EWWW Image OptimizerYesBuilt-inYesYes — unlimitedYes

Three configuration decisions that determine WebP conversion effectiveness: compression level (ShortPixel’s “Lossy” setting produces the smallest files with imperceptible quality loss for web use — “Glossy” is the safe middle ground for photography-heavy sites); whether to delete originals after conversion (do not — keep originals for fallback and future re-processing); and whether to regenerate thumbnails after conversion (yes — WordPress generates multiple image sizes from the original, and thumbnails need converting separately from the full-size image).

Pro Tip: In ShortPixel → Bulk ShortPixel → Advanced Settings, set compression type to Lossy for blog post images and Glossy for product or portfolio images. Enable “Also convert PNG thumbnails” and “Create WebP versions.” Run the bulk conversion during off-peak hours. After conversion, open Google PageSpeed Insights on your highest-image-count page and check whether the “Serve images in next-gen formats” diagnostic has cleared — if it has, your WebP conversion is working. If it still appears, check whether your CDN or caching plugin is serving the WebP versions correctly rather than the originals.


Discovery Track: Alt Text, File Naming, and Google Image Search

With the speed track addressed, the discovery track determines how well WordPress images perform in Google Image Search and how accurately AI crawlers classify image content.

Alt text — the alt attribute in an image’s HTML tag — is the primary signal Google uses to understand what an image depicts (Source: Google Search Central, 2024). WordPress adds alt text through the image block’s Alt Text field in the block editor or in Media Library → Edit.

Alt text that performs well in Image Search follows three rules: it describes the image content specifically rather than generically (“annotated screenshot of WordPress permalink settings with Post name option highlighted” rather than “WordPress screenshot”); it includes the focus keyword where it appears naturally in the image (“WordPress image SEO workflow diagram” rather than “SEO diagram”); and it does not stuff keywords or repeat the same phrase across multiple images on the same page.

Empty alt text fields — the single most common image SEO error on WordPress sites — tell Google the image has no textual context for classification. WordPress’s block editor flags empty alt text with a warning, but does not prevent publishing. A page with twelve images and six empty alt text fields is passing half its Image Search signals to Google as noise.

File naming operates at the URL level — the file name becomes part of the image’s URL, which search engines index. DSC_00847.jpg tells Google nothing. wordpress-image-seo-alt-text-workflow.jpg gives Google a clear topical signal before it reads the alt text. Rename image files descriptively before uploading — WordPress cannot rename files after upload without a plugin, and retrospective renaming requires updating all references to the old file path.

The connection between the two tracks: a descriptively named WebP file with accurate alt text is both fast to load and accurately classifiable — it performs on both tracks simultaneously. An uncompressed JPEG with perfect alt text performs on neither.


ImageObject Schema: Structured Data for WordPress Images

ImageObject schema — a structured data type from Schema.org that formally describes an image’s properties to search engines — is the third layer of WordPress image SEO, below speed and alt text in priority but structurally important for pages where images are the primary content (Source: Google Search Central, 2024).

Most WordPress sites using Rank Math or Yoast already output basic image schema through the primaryImageOfPage property in their Article schema block — which references the featured image’s URL automatically. This covers the featured image. It does not cover images in the post body.

For image-heavy content — tutorials with annotated screenshots, product comparisons, recipe photography — adding explicit ImageObject blocks for key images in the post body signals their editorial significance to both Google and AI crawlers. The minimum viable ImageObject block requires: url, contentUrl, caption, width, height, and name properties.

On aiseojournal.net, where Rank Math Pro is the sole schema source and all JSON-LD is output through Elementor Custom HTML widgets, ImageObject blocks for body images are added manually when the post content is substantially image-driven. For standard blog posts, the Rank Math Article schema’s primaryImageOfPage reference is sufficient.

Check whether your Article schema includes the image property pointing to your featured image URL. In Rank Math, this is populated automatically from the featured image. In Yoast, it’s the same. If the Rich Results Test on a post returns an Article result without an image property, the featured image is either missing or not correctly set in the media settings for that post.


Is PNG or JPEG Better for WordPress SEO?

Neither — WebP is the correct format for WordPress in 2026.

The JPEG vs PNG question was relevant before WebP adoption reached near-universal browser support (currently 97.4% of global browsers, Source: Can I Use, 2024). The practical answer for existing image libraries: JPEG files convert to WebP with smaller file sizes and better lossy compression results; PNG files convert to WebP losslessly for images requiring transparency, or lossily for standard web graphics where transparency is not needed.

For new images uploaded to WordPress: shoot or export as JPEG for photographs and complex images, PNG only where transparency is required, then convert to WebP before or immediately after upload using ShortPixel or Imagify. Never upload raw camera files (TIFF, RAW) to WordPress — they do not compress and can cause server-side processing issues.

The SEO relevance: Google has explicitly cited WebP as a preferred format in its developer guidance (Source: Google, 2024). Serving JPEG or PNG where WebP is supported is a PageSpeed diagnostic that appears as “Serve images in next-gen formats” — a directly addressable LCP and page speed issue.


WordPress Images and AI Search Visibility

GPTBot, ClaudeBot, and PerplexityBot all parse alt text as a primary content signal for images — it is one of the few image properties these crawlers can read without visual processing (Source: OpenAI, 2024).

A page where images carry descriptive, keyword-relevant alt text is more accurately classifiable by AI engines — and more likely to be cited in AI-generated responses that reference visual content or step-by-step processes. Alt text that describes the image’s instructional function (“step 3 of WordPress image compression workflow — ShortPixel bulk conversion settings panel”) is more AI-retrievable than alt text that describes only appearance (“screenshot of plugin settings”).

Two image SEO configurations that directly improve AI citation probability: featured images with alt text matching the post’s primary topic signal, and body images in tutorial content with alt text describing the action being demonstrated rather than the visual appearance.

Use this AI prompt to audit your WordPress image SEO: “Review these image file names and alt text values from my WordPress site [PASTE LIST]. Identify: empty alt text fields, generic file names (image1.jpg, screenshot.png), alt text that matches the file name exactly without adding context, and alt text longer than 125 characters. Output as: Image URL | Issue type | Recommended alt text.”


Frequently Asked Questions

How do you SEO images in WordPress?

WordPress image SEO covers two tracks in sequence. Speed track first: convert images to WebP using ShortPixel or Imagify, compress to under 150KB per image for most web use cases, and confirm the featured image is not causing LCP failure in Google PageSpeed Insights. Discovery track second: write descriptive alt text for every image (WordPress block editor → Alt Text field), name files descriptively before uploading, and confirm your Article schema includes the image property pointing to the featured image URL. See the WordPress SEO pillar guide for the broader technical context.

How do you optimise an image for SEO?

Four actions cover the majority of image SEO gains: convert to WebP format (25–34% smaller than JPEG at equivalent quality); compress the file to the smallest size that maintains acceptable visual quality for the display size; write descriptive alt text that names the specific subject, action, or object in the image; and use a descriptive hyphenated file name before upload. On WordPress, ShortPixel handles the first two automatically across your media library. The alt text and file naming are manual tasks — WordPress cannot automate them accurately.

Is PNG or JPEG better for WordPress SEO?

Neither format is the current best choice — WebP is. WebP produces smaller file sizes than both JPEG (25–34% smaller) and PNG (up to 26% smaller) at equivalent visual quality and is supported by 97.4% of global browsers as of 2024. For existing WordPress sites with JPEG and PNG libraries, ShortPixel or Imagify convert and serve WebP versions automatically while maintaining JPEG/PNG fallbacks for older browsers. Upload new images as JPEG for photographs and PNG only when transparency is required, then convert to WebP before or immediately after upload.


WordPress Image SEO: Your Next Step

Image SEO on WordPress is not an alt text task dressed up as an SEO task. It’s a two-track discipline where the speed track — WebP conversion, compression, correct dimensions, lazy loading — determines whether the page ranks at all, and the discovery track — alt text, file naming, image schema — determines how the ranked page performs in Image Search and AI citation.

The Mobile SEO context for the speed track sits in the WordPress Mobile SEO: Complete Guide to Mobile-First Optimisation. The full technical SEO framework is in the WordPress SEO: The Complete Guide to Optimising Your WordPress Site in 2026.

Open Google PageSpeed Insights now — enter your highest-image-count post URL — select Mobile — read the LCP element diagnostic. If an image is the LCP element and it’s not WebP, that’s the first fix. Everything else follows.


References

  1. web.dev. “Largest Contentful Paint (LCP).” web.dev, 2024. https://web.dev/articles/lcp Supports: LCP as a confirmed Google ranking signal and the 2.5-second Good threshold.

  2. Google. “WebP Compression Study.” Google Developers, 2024. https://developers.google.com/speed/webp/docs/webp_study Supports: WebP producing 25–34% smaller files than JPEG and up to 26% smaller than PNG at equivalent quality.

  3. Google. Image SEO Best Practices.” Google Search Central, 2024. https://developers.google.com/search/docs/appearance/google-images Supports: Alt text as the primary signal Google uses to classify image content and Google Image Search optimisation guidance.

  4. HTTP Archive. “Core Web Vitals Technology Report — WordPress.” HTTP Archive, 2024. https://httparchive.org/reports/cwv-tech Supports: 43% of WordPress sites failing LCP on mobile and uncompressed images as the primary cause.

  5. ShortPixel. “How ShortPixel Works.” ShortPixel Documentation, 2024. https://shortpixel.com/knowledge-base/ Supports: ShortPixel’s bulk WebP conversion process, compression settings, and fallback behaviour.

  6. WordPress.org. “WordPress 5.8 Release Notes.” WordPress.org, 2021. https://wordpress.org/news/2021/07/tatum/ Supports: WordPress native WebP support introduced in version 5.8.

  7. Can I Use. “WebP Image Format — Browser Support.” Can I Use, 2024. https://caniuse.com/webp Supports: 97.4% global browser support for WebP format as of 2024.

  8. OpenAI. “GPTBot Web Crawler.” OpenAI, 2024. https://platform.openai.com/docs/gptbot Supports: AI crawlers parsing alt text as a primary content signal for images.

Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use