22.6% of all Google search results include an image pack (Moz) | 26% of web searches go directly to Google Images (SparkToro) | 40% of pages have at least one image missing alt text (Semrush) | 4.7× more organic traffic from pages with properly optimized images |
Why Image SEO Is a Massive Untapped Traffic Source
Most website owners spend hours optimising their text content for search rankings and completely ignore one of the largest traffic sources available to them: Google Images. With over 26% of all Google searches going directly to the Images tab, and image packs appearing in 22.6% of standard Google search results, images are not a secondary SEO consideration. They are a primary one.
Image SEO is the practice of optimising every aspect of your website’s images so that Google can discover, crawl, understand, and rank them in both standard search results (image pack results appearing above the fold) and Google Images search. Done correctly, image SEO can drive significant referral traffic, improve your page’s Core Web Vitals scores, and strengthen your on-page SEO signals.
The challenge is that image optimisation requires attention to multiple overlapping factors: file format, compression, naming convention, alt text, structured data, page load speed, and technical accessibility. This guide covers every one of them in a logical sequence you can implement immediately.
|
Key Insight |
|
Image SEO has two distinct goals that require different optimisation techniques: |
|
1. Page SEO Optimising images so they make the PAGE rank better in standard text search results (faster load times, relevant alt text as keyword signals, structured data). |
|
2. Image SEO Optimising images so the IMAGES THEMSELVES rank in Google Images and image pack results, driving direct traffic to your pages. |
|
This guide covers both. They share the same best practices but have slightly different priorities. |
Section 1: The 8 Image SEO Ranking Factors
Google uses eight primary signals to understand and rank images. Optimizing each one moves you closer to appearing in Google Images results and image pack features in standard search:
Alt Text Factor 1 Textual description of the image. Primary keyword signal Google uses to understand image content. | File Name Factor 2 Descriptive, hyphen-separated filename. Reinforces alt text and contributes to relevance. | Compression Factor 3 File size directly impacts page speed. Large images hurt Core Web Vitals and rankings. | Format (WebP) Factor 4 WebP is 25–35% smaller than JPEG at same quality. Google recommends serving modern formats. |
Dimensions Factor 5 Correct display size prevents oversized images. Width/height attributes prevent layout shift. | Lazy Loading Factor 6 Defers offscreen image loading to improve initial page load speed and LCP score. | Image Sitemap Factor 7 Helps Google discover all images on your site, especially those loaded via JavaScript. | Structured Data Factor 8 ImageObject schema and product/recipe schemas enable rich result image appearances. |
Section 2: Choosing the Right Image Format for SEO
The image format you choose determines file size, visual quality, browser compatibility, and load speed all of which affect both user experience and SEO performance. Today, the recommended choice for most new web images is WebP, but understanding when to use each format is important.
Format | Best Use Case | Compression Type | Key Notes | Verdict |
|---|---|---|---|---|
JPEG / JPG | Best for:Photographs, product shots, hero images | Lossy compression small file size, some quality loss at high compression | 70–85% quality setting ideal. Most widely supported. No transparency. | Photos |
PNG | Best for:Logos, icons, screenshots, transparency | Lossless compression larger files but perfect quality. Supports transparency (alpha channel) | Use for graphics, logos, illustrations needing crisp edges or transparent backgrounds | Graphics |
WebP | Best for:All web images modern replacement for JPEG/PNG | 25–35% smaller than JPEG at equivalent quality. Supports lossy + lossless + transparency | Now supported by all major browsers. Google’s recommended image format for web. | Recommended |
AVIF | Best for:Next-generation highest compression | Up to 50% smaller than JPEG. Excellent quality at low file sizes. | Growing browser support. Ideal future format but fallback needed for older browsers. | Future |
SVG | Best for:Logos, icons, simple graphics | Vector format infinitely scalable with zero quality loss. Extremely small files. | Use for logos and icons. Not suitable for photographs. Can be indexed by Google. | Logos/Icons |
GIF | Best for:Simple animations only | Very poor compression for static images. Limited to 256 colours. | Avoid for static images use JPEG or PNG instead. Animated: consider WebP or video. | Animations only |
How to Convert Images to WebP
You do not need a developer to convert images to WebP Squoosh (browser-based, free) converts and compresses in one step with a live before/after quality preview. For WordPress sites, ShortPixel or Imagify handles conversion automatically on upload and retroactively converts your existing image library in bulk, which is the fastest way to fix a site with hundreds of unoptimised images already live.
- 1. Pre-upload conversion: Use Google's Squoosh tool (squoosh.app) or TinyPNG to convert images to WebP before uploading. Set quality to 80% for photographs. This is the most reliable method.
- 2. WordPress plugin: ShortPixel, Imagify, or Smush Pro automatically convert all uploaded images to WebP and serve the WebP version to supported browsers, falling back to JPEG/PNG for older browsers. Requires no manual work.
- 3. CDN-level conversion: Cloudflare, AWS CloudFront, and BunnyCDN can convert and serve WebP automatically based on the Accept header sent by the browser. Best approach for large or high-traffic sites.
Browser Support Note |
WebP is supported by all modern browsers including Chrome, Firefox, Safari (since 2020), Edge, and Opera. |
If you need to support IE11 or very old Safari versions, use the HTML <picture> element to provide both WebP and a JPEG/PNG fallback. |
As of 2024, WebP browser support exceeds 97% globally making fallbacks optional for most new projects. |
Section 3: Image Compression File Size Targets for Every Image Type
Uncompressed images are the single most common cause of slow page load times. A single full-resolution photograph from a modern smartphone can be 5–15MB 100 times larger than necessary for web display. Image compression reduces file size while maintaining acceptable visual quality, directly improving page speed, Core Web Vitals, and SEO rankings.
Google’s PageSpeed Insights consistently flags oversized images as one of the highest-impact performance issues. For every second of delay caused by large images, bounce rates increase and conversion rates decrease. Compression is not optional it is foundational.
Image Type | Recommended Dimensions | JPEG/PNG Max | WebP Target | Notes |
|---|---|---|---|---|
Hero/Banner Image | 1920 × 600px | < 200KB | < 100KB (WebP) | Full-width header. High visual impact. Heavily affects LCP score. |
Blog Post Featured | 1200 × 630px | < 150KB | < 80KB (WebP) | Appears above fold in blog. Also used as OG image for social sharing. |
In-Content Blog Images | 800 × 500px | < 100KB | < 50KB (WebP) | Embedded mid-article. Multiple per post cumulative size matters. |
Product Images | 800 × 800px | < 120KB | < 70KB (WebP) | Square crop standard for e-commerce. Zoom feature may need larger. |
Thumbnail / Preview | 400 × 300px | < 40KB | < 20KB (WebP) | Category grids, related posts, sidebar widgets. |
Logo | 200 × 60px | < 15KB | < 5KB (SVG) | Use SVG for logos. Appears on every page tiny impact but consistent. |
Background Textures | Varies | < 50KB | < 25KB (WebP) | Decorative only. Set lazy loading. Consider CSS gradients instead. |
Icon / Favicon | 32×32 / 512px | < 5KB | < 2KB | favicon.ico for browsers, 512×512 PNG for PWA manifest. |
Lossy vs Lossless Compression: When to Use Each
Use lossy compression – JPEG at 75–85% quality, or WebP lossy – for photographs and hero images where a small reduction in pixel-level detail is invisible to the human eye but produces 60–80% file size savings. Use lossless compression – PNG or WebP lossless – for logos, screenshots, and graphics containing text or sharp edges, where lossy compression introduces visible artefacts that degrade the professional quality of the image at any file size saving.
Compression Type | What It Does | Quality Impact | File Size Reduction | Best For |
|---|---|---|---|---|
Lossy | Permanently removes some image data to achieve smaller files. Amount of loss is configurable. | Visible at high compression settings. At 70–85% quality, loss is imperceptible to most users. | 40–80% reduction | Photographs, product images, hero images, blog images |
Lossless | Removes redundant data without discarding any actual image information. | Zero quality loss pixel-perfect output identical to original. | 10–30% reduction | Logos, screenshots, graphics with text, technical diagrams |
Perceptual | Optimises compression based on how human vision works more compression in areas eyes are less sensitive to. | Extremely high quality at much smaller file sizes. | 40–70% reduction | Modern tools (WebP, AVIF) use this approach automatically |
Section 4: Alt Text The Most Important Image SEO Factor
Alt text (alternative text) is the HTML attribute that provides a textual description of an image. It was originally created for accessibility allowing screen readers to describe images to visually impaired users. From an SEO perspective, alt text is the primary signal Google uses to understand what an image depicts, making it the most important image SEO factor under your direct control.
HTML syntax:<img src=”on-page-seo-guide.jpg” alt=”On-page SEO guide checklist with 10 ranking factors” width=”800″ height=”500″>
Alt Text Quality Scale: 8 Real Examples
The scale below moves from the two failure states Google explicitly penalises – missing alt text and keyword-stuffed alt text – through progressively better implementations, to the ideal format that satisfies both Google’s image understanding requirements and WCAG 2.1 accessibility standards. Use the highest-quality example in each category as your template when writing alt text for that image type.
Alt Text Example | Quality Assessment | Improvement |
|---|---|---|
Product image of blue running shoes | Terrible Generic colour description. No brand, model, or keyword. | Better:“Nike Air Zoom Pegasus 40 men’s running shoes in royal blue” |
img1234.jpg | Terrible Filename used as alt text. No descriptive content whatsoever. | Better:“SEO audit checklist printed on paper with red pen annotations” |
image | Terrible Single generic word. No context, no keyword, no description. | Better:“Bar chart showing organic traffic growth from 2,000 to 18,000 visits/month” |
SEO SEO keyword SEO tips best SEO | Stuffed Keyword stuffing in alt text. Google treats this as spam and ignores. | Better:“On-page SEO checklist with 10 ranking factors highlighted” |
A photo of a man using a laptop | Weak Describes what’s in the image but adds no keyword context or value. | Better:“Digital marketer conducting keyword research using Ahrefs on laptop” |
Decorative divider line | Correct For purely decorative images, empty alt=”” tells screen readers to skip. | Use:alt=”” for spacers, borders, and purely decorative design elements |
Bar chart showing 40% CTR increase | Good Descriptive, specific, accurately represents the image content. | Even better:“Bar chart: meta description optimization increased CTR by 40%” |
Nike Air Max 270 black mens trainers | Excellent Brand + product + colour + gender + category. Perfect e-commerce alt. | Also include:Keyword naturally if it fits: “buy Nike Air Max 270 black men’s trainers” |
The 5 Rules of Perfect Alt Text
These five rules eliminate every common alt text error in a single checklist: describe what the image shows, not what you want to rank for; include the keyword only where it fits naturally in the description; keep length between 8 and 15 words; never start with “image of” or “photo of” – Google already knows it is an image; and leave the alt attribute empty (alt="") for purely decorative images that add no informational value to the page.
- 4. Describe what is actually in the image. Alt text should accurately describe the image content. A screen reader user clicking a link wrapped around an image relies entirely on alt text to understand what they are clicking. Accuracy comes before keyword optimization.
- 5. Include your target keyword naturally once. If your image is relevant to your target keyword, include it naturally in the description. "On-page SEO checklist showing 10 ranking factors" is natural. "SEO SEO checklist SEO best practices SEO tips" is spam.
- 6. Keep alt text under 125 characters. Most screen readers cut off alt text after 125 characters. Front-load the most important description and keyword within the first 100 characters.
- Use empty alt="" for decorative images. Purely decorative images spacers, background textures, decorative borders should have empty alt="" attributes. This tells screen readers to skip them and prevents Google from treating them as meaningful content signals.
- Never repeat the same alt text across multiple images. Duplicate alt text across multiple images on the same page is treated as keyword stuffing. Each image on a page should have a unique, accurate description.
Alt Text for Different Image Types
Product images should describe the product, its key visual feature, and the brand name – “Futuristic Marketing branded SEO audit report showing organic traffic growth chart.” Infographics need alt text that captures the core data point the graphic communicates, not a general description of its existence. Screenshot alt text should describe what is shown on screen and why it is relevant to the surrounding content – treating it as a visual citation rather than a decorative element.
Image Type | Alt Text Formula | Example |
|---|---|---|
Product image | [Brand] [Product Name] [Variant] [Category] | “Adidas Ultraboost 22 grey mens running shoes” |
Infographic | [Topic] infographic: [key data point or main insight] | “Image SEO checklist infographic: 12 steps to optimize images for Google” |
Screenshot | Screenshot of [tool/platform] showing [specific thing shown] | “Screenshot of Google Search Console showing 47% CTR improvement after meta tag optimization” |
Chart/Graph | [Chart type] showing [what it measures] [key result] | “Bar chart showing page load time reduction from 8.3s to 1.9s after WebP conversion” |
Team/People photo | Photo of [person description] [doing what] at [location/context] | “Digital marketing team discussing SEO strategy around conference table” |
Blog/Article header | [Topic] guide: [key aspect shown in image] | “Image SEO guide: comparison of JPEG vs WebP format file sizes” |
Decorative/Background | Leave alt=”” empty, not missing | alt=”” tells screen readers to ignore this image entirely |
Section 5: Image File Names Small Detail, Big SEO Impact
Before Google can read your alt text, it reads your image’s filename. A descriptive, keyword-rich filename provides an additional relevance signal that reinforces your alt text and helps Google confirm its understanding of the image content. It costs nothing to name files well yet the majority of websites upload thousands of images with meaningless filenames.
Filename Example | Rating | Why |
|---|---|---|
IMG_20240315_142233.jpg | Bad | Camera-generated filename. No SEO value. Tells Google nothing about the image. |
image1.png | Bad | Generic number. No description. Will never rank in Google Images for any keyword. |
photo-of-shoes.jpg | Weak | Generic description. No brand, colour, or specific detail. Limited SEO value. |
seo-audit-checklist.jpg | Good | Keyword-rich, descriptive, uses hyphens (required not underscores). Clear topic. |
nike-air-max-270-blue-mens.jpg | Good | E-commerce gold standard. Brand + model + colour + variant. Ranks in product image search. |
on-page-seo-guide-infographic.png | Excellent | Primary keyword + content type. Signals to Google both topic AND media format. |
Image Filename Rules
Use lowercase, hyphen-separated descriptive filenames that include your target keyword – image-seo-guide-alt-text-examples.webp is correct; IMG_4872_final_v2.jpg passes no relevance signal to Google whatsoever. Keep filenames under 5 words, avoid stop words like “and,” “the,” and “of,” and never upload two images with the same filename to different pages – duplicate filenames create ambiguous signals in Google’s image index.
- Use hyphens between words, never underscores or spaces. Google treats hyphens as word separators. Underscores are treated as connectors, making "on_page_seo" read as one word "onpageseo" rather than three separate words.
- Use lowercase letters only. Some servers (Linux) are case-sensitive. "Image.jpg" and "image.jpg" are different files on case-sensitive servers. Lowercase prevents 404 errors from case mismatches.
- Keep filenames under 60 characters. Longer filenames can cause URL length issues when the image URL is shared or linked. Most valuable keywords appear in first 50 characters anyway.
- Include the primary keyword for the page the image will appear on. An image on your "technical SEO audit" page should be named "technical-seo-audit-checklist.jpg" not "checklist.jpg".
- Avoid stop words in filenames: a, the, and, of, to, for. These add length without adding ranking value. "on-page-seo-guide.jpg" is cleaner and more effective than "a-guide-to-the-best-on-page-seo-tips.jpg".
Section 6: Image Dimensions, Responsive Images & Layout Shift
Uploading images at the correct dimensions is one of the highest-impact and most overlooked image SEO optimisations. Oversized images waste bandwidth, slow page loads, and harm Core Web Vitals scores. Incorrectly specified dimensions cause Cumulative Layout Shift (CLS) one of Google’s three Core Web Vitals metrics.
Why Width and Height Attributes Are Critical for SEO
When a browser loads a page, it needs to know how much space to reserve for each image before the image file has downloaded. If width and height attributes are missing from <img> tags, the browser cannot allocate space so when images finally load, they push other content down the page. This push is measured as Cumulative Layout Shift (CLS).
A high CLS score is a confirmed Google ranking factor that negatively impacts rankings. The fix is simple but impactful: always include explicit width and height attributes on every <img> element.
Correct Image HTML with All SEO Attributes |

Never omit width and height this is the most common cause of CLS (layout shift) issues.
Do NOT add loading=”lazy” to above-the-fold / LCP images this delays the most important image load.
Responsive Images with srcset
The srcset attribute allows you to provide multiple image sizes for different screen resolutions and viewport widths. Browsers automatically select the most appropriate size serving a 400px thumbnail to a mobile user and a 1200px version to a desktop user. This reduces unnecessary data transfer on mobile devices.
srcset Example for Responsive Images |
This tells browsers: use 400px on small screens, 800px on medium screens, 1200px on large screens.
Section 7: Lazy Loading How to Implement It Correctly
Lazy loading defers the download of images until they are needed typically when the user scrolls close to the image’s position on the page. For a page with 20 images, lazy loading means only 2–3 above-the-fold images load immediately, while the remaining 17+ load on demand as the user scrolls.
Properly implemented lazy loading can dramatically reduce initial page load time, improve Time to First Byte (TTFB), and improve Largest Contentful Paint (LCP) scores all signals that influence Google rankings.
Native HTML Lazy Loading
Native lazy loading requires a single attribute – loading="lazy" – added to your <img> tag. No JavaScript, no plugin dependency, and supported by all major browsers since 2020. The only rule: never apply it to the hero image or any image visible in the initial viewport, because those images need to load immediately and lazy loading them is the single most common cause of avoidable LCP failures.
Lazy Loading Implementation |
Common Lazy Loading Mistakes That Hurt LCP Scores
The most damaging lazy loading error is applying loading="lazy" to the hero image or the largest above-the-fold image – the exact element Google measures for LCP. Any image visible without scrolling should use loading="eager" or no loading attribute at all; lazy loading should only be applied to images that appear below the visible viewport on initial page load. The second common mistake is lazy loading images without setting explicit width and height attributes, which causes layout shift as images load and directly worsens your CLS score.
- Lazy loading the hero/LCP image. Never add loading="lazy" to the image that is visible above the fold and represents the page's LCP element. This delays loading the most important visual on the page and directly worsens LCP scores.
- Not preloading the LCP image. For hero images and page headers, add a in the to tell the browser to fetch it as a top priority before other resources.
- Using JavaScript lazy loading libraries when native is available. Libraries like lazysizes add JavaScript overhead. The native loading="lazy" attribute is supported in all modern browsers and requires zero JavaScript.
- Lazy loading images above the fold on mobile. The "fold" varies by device. An image that appears below the fold on desktop may be above the fold on mobile. Test on real devices or use browser devtools mobile emulation.
Section 8: Image Sitemaps Help Google Find Every Image
An image sitemap tells Google about images on your website that it might not discover through regular crawling. This is particularly important for images loaded by JavaScript (common in modern CMS platforms and e-commerce stores), images embedded via CSS background-image properties, or images on pages that are not well-internally-linked.
Two Types of Image Sitemap Implementation
The first method is adding image tags directly inside your existing XML sitemap – suitable for most WordPress sites and the simplest implementation. The second is creating a dedicated image sitemap separate from your page sitemap – recommended for e-commerce sites or photography portfolios where the volume of images is large enough that mixing them into the page sitemap makes both harder for Google to process efficiently. Both methods are accepted by Google; the choice depends on your site’s image volume and sitemap file size.
Method | How It Works | Best For | Example |
|---|---|---|---|
Extend existing XML sitemap | Add <image:image> tags inside each <url> entry in your existing sitemap.xml | Smaller sites with fewer than 1,000 images. Keeps everything in one file. | <url> |
Separate image sitemap file | Create a dedicated sitemap_images.xml file containing only image entries. Reference in sitemap index. | Large sites, e-commerce with thousands of product images, or sites with a dedicated image library. | Create sitemap_images.xml and submit separately in Google Search Console |
Image Sitemap XML Format
Each image entry requires the <image:loc> tag containing the full absolute URL of the image file – not a relative path. Include <image:title> and <image:caption> where they exist; these are optional but provide Google with additional text signals about the image’s content that supplement the alt text on the page. Submit your image sitemap to Google Search Console via the Sitemaps report and verify it returns no errors before considering image sitemap implementation complete.
Image Sitemap Code Example |
https://futuristicmarketingservices.com/Blogs/seo/image-seo-guide/
https://futuristicmarketingservices.com/images/image-seo-guide.webp
Image SEO Guide: 12-Step Optimization Checklist
Complete image SEO optimization process with alt text, compression, and file naming best practices
For WordPress: Yoast SEO and Rank Math automatically include images in sitemaps. Enable in plugin settings.
Section 9: Structured Data for Image Rich Results
Schema markup can make your images eligible for enhanced “rich result” appearances in Google Search, including product image carousels, recipe images, article image thumbnails, and video thumbnails. While standard image optimization helps images rank in Google Images, structured data enables special image-based rich result features in standard SERPs.
Image Object Schema The Foundation
ImageObject schema marks up a specific image as a structured data entity – telling Google its URL, dimensions, author, license, and content URL in a machine-readable format. Implement it on every page where a primary image is central to the content, using either JSON-LD in the page head or embedded in your existing Article or Product schema as a nested image property. Validate every implementation in Google’s Rich Results Test before publishing.
ImageObject Schema Example (JSON-LD) |
Schema Types That Include Images
Article schema’s image property is required – not optional – for Google to consider your content for Top Stories rich results, and the image must meet minimum dimensions of 1200 × 630 pixels. Product schema with image markup enables your product images to appear in Google Shopping and product rich results. Recipe schema’s image property is one of the strongest drivers of image pack appearances for food content – recipes with schema-marked images consistently appear in image results at significantly higher rates than those without.
Schema Type | Enables | Image Requirements |
|---|---|---|
Article | Article image in Google Discover and rich results | Must be at least 1200px wide. Use high-quality, relevant images. Required: image property in Article schema. |
Product | Product image carousel in shopping results and product rich results | High-resolution product photo. White or light background recommended. Min 160×160px. Max 10MB. |
Recipe | Recipe image in Google Images and recipe rich results | Clear photo of the finished dish. Min 1200px wide. Aspect ratios: 16:9, 4:3, or 1:1 all acceptable. |
HowTo | Step-by-step images in HowTo rich results | Image for each step helps qualify for step-by-step rich results in search. |
VideoObject | Video thumbnail in video rich results | Thumbnail image at least 1200px wide. Must accurately represent video content. |
LocalBusiness | Business photo in Google Knowledge Panel and Maps | High-quality exterior and interior photos. At least 720×720px. Updated regularly. |
Section 10: Complete Image SEO Checklist 12 Steps
Work through this checklist before publishing any image-heavy page – several steps, particularly filename and alt text, cannot be retrofitted efficiently at scale once images are live and indexed. One pass through all 12 steps at the point of upload takes under five minutes per image and eliminates every common image SEO error simultaneously.
# | Task | How to Do It | Phase | Done |
|---|---|---|---|---|
1 | Choose correct format | JPEG for photos, WebP for everything new, SVG for logos. Avoid PNG for photos. | Pre-upload | |
2 | Compress before upload | Run every image through TinyPNG, Squoosh, or ShortPixel. No image should exceed 200KB on web. | Pre-upload | |
3 | Resize to display dimensions | Never upload a 4000px image to display at 800px. Resize to max display width before uploading. | Pre-upload | |
4 | Name file with keywords | Use descriptive hyphen-separated filename: “keyword-description.jpg”. No spaces, no underscores, no camera names. | Pre-upload | |
5 | Write keyword-rich alt text | Describe the image accurately. Include primary keyword naturally if relevant. Never keyword-stuff. | On upload | |
6 | Set title attribute | Optional but helpful for accessibility. Usually mirrors alt text with slight variation. | On upload | |
7 | Add image caption | Captions are read 300% more than body copy (Nielsen). Add keyword-relevant captions to important images. | In content | |
8 | Enable lazy loading | Add loading=”lazy” to all images below the fold. Native HTML attribute. No plugin required. | In HTML/CMS | |
9 | Specify width and height | Always add width and height HTML attributes to prevent layout shift (CLS) a Core Web Vitals metric. | In HTML/CMS | |
10 | Serve via CDN | Use a CDN (Cloudflare, Cloudfront, Fastly) to serve images from server nearest to visitor. | Technical setup | |
11 | Add to image sitemap | Include image URLs in XML sitemap or create dedicated image sitemap to help Google discover all images. | Technical setup | |
12 | Test with PageSpeed Insights | Run Google PageSpeed Insights and check “Properly size images” and “Serve images in next-gen formats” recommendations. | Quality check |
Section 11: Image SEO Dos and Don'ts
The image SEO errors in the table below appear consistently across sites of every size – from single-author blogs to large e-commerce platforms – and each has a direct consequence for either page speed, image search visibility, or Core Web Vitals scores. Run through this section as a final checklist before publishing any image-heavy page.
DO (Image SEO Best Practice) | DON’T (Common Image SEO Mistake) |
|---|---|
DO compress every image before uploading | DON’T upload full-resolution camera photos directly |
DO use descriptive, keyword-rich filenames | DON’T use IMG_20240315.jpg or image1.png |
DO write unique alt text for every image | DON’T leave alt text empty on content images |
DO convert images to WebP for web delivery | DON’T serve JPEG/PNG when WebP is 30% smaller |
DO add loading=”lazy” to below-fold images | DON’T lazy-load above-the-fold / LCP images |
DO specify width and height attributes in HTML | DON’T omit dimensions causes CLS layout shifts |
DO use empty alt=”” for purely decorative images | DON’T keyword-stuff alt text with repeated phrases |
DO submit image sitemap to Google Search Console | DON’T block image directories in robots.txt |
Section 12: Best Image SEO Tools today
For compression and format conversion, Squoosh (free, browser-based) and ShortPixel (WordPress plugin) cover the majority of use cases without requiring developer involvement. For auditing existing image issues at scale – missing alt text, oversized images, missing dimensions – Screaming Frog’s image audit export is the most comprehensive tool available and should be the first report you run on any site you are optimising for the first time.
Tool | Price | What It Does | Best For |
|---|---|---|---|
TinyPNG / TinyJPG | Free (500/month) / $25/yr | Compress JPEG and PNG images by up to 70% with minimal quality loss. API available for automation. | Quick manual compression of any image |
Squoosh (Google) | Free (browser tool) | Advanced compression tool by Google. Compare formats side-by-side. Resize, convert to WebP/AVIF. No upload limits. | Detailed compression control and format conversion |
ShortPixel | From $4.99/month | WordPress plugin + API. Bulk compresses all existing images. Converts to WebP/AVIF. Automatic new image compression. | WordPress sites best set-and-forget plugin |
Smush (WordPress) | Free / $7.99/month | WordPress plugin. Lossless and lossy compression. WebP conversion. Lazy loading. CDN option in paid plan. | WordPress beginners wanting free image optimization |
Imagify | From $4.99/month | WordPress/API image optimization. Supports WebP, AVIF. Three compression levels. Bulk optimization for existing images. | WordPress sites wanting AVIF support |
Cloudflare Images | From $5/month | Global CDN image delivery + on-the-fly resizing and format conversion. Serves WebP automatically to supported browsers. | Sites wanting CDN-level image optimization at scale |
Google PageSpeed Insights | Free | Audits your page and flags oversized images, wrong formats, and missing lazy loading with specific recommendations. | Diagnosing image performance issues on live pages |
Screaming Frog SEO Spider | Free / £149/yr | Crawls site and reports missing alt text, oversized images, and images without width/height attributes across all pages. | Site-wide image SEO audit |
Section 13: Image SEO for E-Commerce
E-commerce sites have unique image SEO challenges and opportunities. Product images are the primary driver of e-commerce traffic from Google Images where users actively searching for products can click directly through to product pages. Getting product image SEO right can generate significant additional revenue.
E-Commerce Image SEO Priorities
Product images are the highest-priority image SEO target on any e-commerce site – they drive Google Shopping appearances, image pack inclusions, and on-page conversion simultaneously. Prioritise these three actions in order: convert all product images to WebP and compress to under 150KB; write unique, descriptive alt text for every product image rather than repeating the product name; and implement Product schema with the image property on every product page. These three actions produce the largest combined impact on both image search traffic and page speed.
- Product images are your highest-value image SEO opportunity. A well-optimised product image appearing in Google Images for "Nike Air Max 270 blue" brings purchase-intent traffic directly to your product page often better qualified than organic text search traffic.
- Use multiple product angles with unique alt text per image. Main product image, detail shots, lifestyle photos, and size comparison images all need unique, descriptive alt text. The main image should include brand + product + variant. Detail shots should describe what the detail shows.
- Implement product schema with images. Product schema that includes the image property makes product images eligible for Google Shopping-style rich results and product carousels in image search.
- Optimize for Google Lens. Google Lens allows users to search by taking a photo of a product. Well-optimised product images with clear backgrounds and accurate schema are more likely to surface in Google Lens results.
- White or light backgrounds for product images. Pure white (#FFFFFF) or light neutral backgrounds are the e-commerce standard and make images eligible for Google Shopping appearances. Lifestyle images on coloured backgrounds serve different purposes use both strategically.
Section 14: 4 Critical Image SEO Mistakes
These four mistakes are responsible for the majority of image-related ranking problems and Core Web Vitals failures found in technical SEO audits. Each one is invisible unless you specifically audit for it – and each compounds in impact with every new image added to the site under the same uncorrected approach.
Mistake 1: Blocking Images in Robots.txt
One of the most damaging and surprisingly common image SEO errors is adding “Disallow: /wp-content/uploads/” (or similar) to robots.txt. This blocks Googlebot from crawling your image directory entirely making every image on your site invisible to Google Images.
This often happens by accident during staging site setup when a developer blocks the images folder to prevent the staging environment from being indexed, then forgets to remove the rule before launch. Check your robots.txt immediately: go to yourdomain.com/robots.txt and verify there are no disallow rules blocking image directories.
Mistake 2: Using CSS Background Images for Content
CSS background images (set via background-image: url() in stylesheets) are invisible to Google in most cases. If an image is meaningful content a product photo, an infographic, a chart it must be an HTML <img> element with alt text, not a CSS background image.
CSS background images are appropriate for decorative purposes: page textures, pattern backgrounds, decorative borders. They should never be used for content images that you want Google to understand and index.
Mistake 3: Lazy Loading the LCP Image
The Largest Contentful Paint (LCP) image typically the hero image, product photo, or featured image above the fold is the single most performance-sensitive image on any page. Adding loading=”lazy” to this image instructs the browser to delay loading it, which directly worsens your LCP score.
Google’s PageSpeed Insights will specifically flag this as “Defer offscreen images image is above the fold and should not be lazy loaded.” If this flag appears, find your hero/featured image HTML and remove the loading=”lazy” attribute, or replace it with loading=”eager”. Then add a <link rel=”preload” as=”image”> in the <head> for maximum LCP improvement.
Mistake 4: Not Compressing Images After CMS Upload
Many content management systems including WordPress do not compress uploaded images by default. Every time a non-technical content editor uploads a photo from their iPhone, a 4–8MB file lands on your server and is served directly to users.
The fix has two parts: (1) Install an automatic compression plugin (ShortPixel, Imagify, or Smush) that compresses every new upload automatically and processes existing images in bulk. (2) Brief your content team on file size expectations providing them with a simple pre-upload checklist that includes compressing images using TinyPNG before upload.
Section 15: Frequently Asked Questions About Image SEO
The FAQs below address the image SEO decisions that come up most often during site audits and content publishing workflows – including whether alt text still matters for rankings in 2026, how to handle images loaded via JavaScript that Google may not crawl, what image dimensions are required for rich result eligibility, and how to recover image search traffic lost after a site migration. Each answer applies the technical standards and best practices documented in this guide.
Q1: Does image alt text help with SEO rankings?
Q2: What is the ideal alt text length?
Q3: Does image file size affect SEO rankings?
Q4: Should I use WebP or JPEG for my website images?
Q5: How do I rank images in Google Images?
Q6: What is lazy loading and should I use it?
Q7: Do I need an image sitemap?
Q8: Can Google index images in JavaScript-rendered content?
Q9: What is Cumulative Layout Shift (CLS) and how do images cause it?
Q10: How often should I audit my images for SEO?
Q11: Does image quality affect SEO?
Q12: Should I host images on my own domain or a CDN?
|
READY TO UNLOCK TRAFFIC FROM GOOGLE IMAGES? |





