Image Optimization Guide for SEO with Auditite
Complete guide to optimizing images for faster page loads, better accessibility, and improved visibility in Google Image search.
Overview
Images typically account for 40-60% of a page’s total weight. Optimizing them improves page speed (directly impacting Core Web Vitals), enhances accessibility, and opens up Google Image Search as a traffic channel.
Step 1: Image Audit
- Crawl your site and export a list of all image URLs with their file sizes and dimensions.
- Identify images over 200KB — these are your top optimization targets.
- Check for missing alt attributes across all images.
- Flag images served in older formats (JPEG, PNG, GIF) that could use modern formats.
- Identify pages where images are the LCP element.
Step 2: Format Selection
| Format | Best For | Browser Support |
|---|---|---|
| WebP | General photos and illustrations | 97%+ browsers |
| AVIF | High-quality photos with best compression | 90%+ browsers |
| SVG | Icons, logos, simple illustrations | Universal |
| PNG | Transparency required, simple graphics | Universal |
| JPEG | Fallback only | Universal |
Use <picture> elements with AVIF as the primary source, WebP as fallback, and JPEG/PNG as the final fallback for maximum compatibility.
Step 3: Compression and Sizing
- Set a maximum file size budget: 100KB for hero images, 50KB for content images, 20KB for thumbnails.
- Use lossy compression at quality 75-85 for photos — the visual difference is negligible.
- Resize images to match their display dimensions. Never serve a 3000px image in a 600px container.
- Implement responsive images with srcset and sizes attributes for different viewport widths.
- Generate multiple sizes at build time: 400w, 800w, 1200w, and 1600w are typical breakpoints.
Step 4: Lazy Loading
- Add
loading="lazy"to all images below the fold. - Never lazy-load the LCP image — this delays the largest contentful paint.
- Use
fetchpriority="high"on the LCP image to tell the browser to download it first. - For background images loaded via CSS, use intersection observer to trigger loading.
Step 5: Alt Text Optimization
Write alt text that is:
- Descriptive of the image content (not the surrounding text)
- Concise: 5-15 words in most cases
- Keyword-relevant where natural, but never keyword-stuffed
- Functional for screen readers — describe what the image shows, not “image of” or “photo of”
- Empty (
alt="") for purely decorative images that convey no information
Step 6: Image SEO for Search Visibility
- Use descriptive, keyword-rich file names:
blue-running-shoes-nike.webpnotIMG_4523.webp. - Place images near relevant text content that provides context.
- Add structured data (ImageObject) for images you want to appear in Google Image search.
- Create an image sitemap or include image URLs in your existing XML sitemap.
- Ensure image URLs are stable — changing image URLs breaks cached search results.
Step 7: CDN and Delivery
- Serve all images through a CDN with global edge locations.
- Set aggressive cache headers:
Cache-Control: public, max-age=31536000, immutablefor fingerprinted image URLs. - Enable automatic format negotiation (Accept header-based) if your CDN supports it.
- Use image CDN services that can resize and optimize on the fly based on device characteristics.
Step 8: Monitoring
Set up Auditite to continuously monitor:
- Pages with images over your size budget
- Missing or empty alt attributes
- Images served without next-gen formats
- LCP images that are not preloaded or prioritized
- Broken image URLs (404 status on image resources)
Related playbooks
Core Web Vitals Fix Guide with Auditite
Diagnose and fix specific Core Web Vitals failures with targeted solutions for LCP, INP, and CLS issues. A practical guide for SEO teams.
PlaybookCore Web Vitals Optimization Playbook for SEO
Actionable playbook for improving LCP, INP, and CLS scores to pass Google's Core Web Vitals assessment consistently.
PlaybookSite Speed Optimization Playbook with Auditite
Step-by-step playbook for diagnosing and fixing site speed issues to improve user experience and search rankings.
Stop copy-pasting. Start automating.
Auditite turns playbooks into live audit workflows. Get started to see how.