Google Images is the second-largest search engine in the world, processing over 1 billion visual searches every day. Despite this, most websites treat image SEO as an afterthought — writing generic alt text like "photo" and uploading 4 MB camera files without optimization.
This guide covers everything Google evaluates when deciding whether to rank your image: file naming, alt text quality, page load speed, structured data, surrounding content, and Core Web Vitals — all updated for 2025's algorithm signals.
1. Why Image SEO Matters More Than Ever in 2025
Several developments have made image SEO more impactful than at any point in Google's history:
- Visual search growth: Google Lens processes 12+ billion visual searches monthly as of 2024
- Google Discover: Large, high-quality images are required to appear in Discover feeds — a massive traffic source for content sites
- Core Web Vitals: LCP (Largest Contentful Paint) is usually an image, making image optimization a direct ranking factor for the main search index — not just Image Search
- Rich results: Products, recipes, and articles with properly structured image schema appear with enhanced visual results in SERPs
- AI Overviews: Google's generative AI answers frequently pull images from indexed sources — properly optimized images increase the chance of being featured
2. Image File Naming Best Practices
File names are one of the few explicit signals available to Google for image ranking. Google's own documentation states that descriptive file names help Google understand the image topic.
The Rules
- Use descriptive, keyword-relevant names:
red-running-shoes-nike-air-max.jpgnotIMG_4892.jpg - Use hyphens to separate words (not underscores — Google treats underscores as word joiners)
- Include 2–4 descriptive words — don't keyword-stuff with 10+ terms
- Match the file name to the page topic and image content
- Use lowercase only — avoid mixed case or spaces
| Bad File Name | Good File Name |
|---|---|
IMG_20240115_142356.jpg | homemade-sourdough-bread-recipe.jpg |
photo1.png | brooklyn-bridge-night-photography.png |
product_image_final_v3.jpg | blue-ceramic-coffee-mug-12oz.jpg |
banner.jpg | summer-sale-discount-clothes-2025.jpg |
3. Writing Alt Text That Ranks (and Passes Accessibility)
Alt text serves dual purposes: it describes the image to screen readers (accessibility) and provides a text signal to Google (SEO). Both audiences deserve the same quality: specific, descriptive, accurate text that matches what is actually in the image.
Alt Text Formula
The most effective alt text follows this pattern: [Primary subject] + [context/action] + [relevant keyword if it fits naturally]
| Image | Bad Alt Text | Good Alt Text |
|---|---|---|
| Person running on beach | image or photo | Woman running on sandy beach at sunrise in athletic wear |
| Product shot of headphones | headphones | Sony WH-1000XM5 noise-canceling wireless headphones in black |
| Chart showing sales growth | chart | Bar chart showing 47% revenue growth from Q1 to Q4 2024 |
| Recipe dish | pasta dish | Homemade spaghetti carbonara with crispy pancetta and parmesan |
Don't keyword-stuff alt text ("buy cheap running shoes red shoes discount shoes sale") — this is a spam signal. Don't use "image of" or "photo of" as a prefix — Google already knows it's an image. Don't leave alt text empty on meaningful images (blank alt is only appropriate for decorative images).
4. File Size as a Ranking Signal
Image file size affects SEO through three interconnected paths:
Path 1: Core Web Vitals (Direct Ranking Factor)
Largest Contentful Paint (LCP) measures how long the largest visible element takes to render. On most pages, the LCP element is an image. Google uses LCP as a direct ranking signal in the main search index. A 2 MB hero image that loads in 4 seconds will have a Poor LCP score and lose rankings to an equivalent page with a 180 KB WebP hero loading in 0.8 seconds.
Path 2: Crawl Budget
Googlebot has a finite crawl budget per site per day. Sites with slow page loads consume more crawl time per page, meaning fewer pages get crawled. Optimizing image sizes speeds up crawling of your entire site.
Path 3: User Experience Signals
Pages that load slowly see higher bounce rates and lower dwell time — both of which Google may interpret as quality signals. Faster image loading improves engagement metrics that correlate with rankings.
The optimization is simple: use iCompressIt to compress every image before publishing. Target under 200 KB for hero images, under 100 KB for featured images, under 30 KB for thumbnails.
5. Image Structured Data and Schema
Adding structured data (Schema.org JSON-LD) to pages with images enables Google to understand the image context and potentially display rich results.
Article Schema with Image
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Your Article Title",
"image": {
"@type": "ImageObject",
"url": "https://example.com/images/article-hero.webp",
"width": 1200,
"height": 630,
"caption": "Description of the image"
},
"datePublished": "2025-03-01",
"author": {"@type": "Person", "name": "Author Name"}
}
</script>
Product Schema with Multiple Images
"image": [
"https://example.com/product-front.webp",
"https://example.com/product-side.webp",
"https://example.com/product-detail.webp"
]
Google recommends providing multiple image URLs in product schema to maximize eligibility for image-rich shopping results.
6. Surrounding Content and Context
Google determines image topic not just from the image file itself but from everything around it: the page title, the heading the image appears under, the caption, the surrounding paragraph text, and the page's overall topic authority.
- Image captions: Captions are one of the most-read elements on any page. They also provide strong contextual signals to Google. Use them on every important image.
- Proximity to relevant headings: An image placed under an H2 that matches your target keyword gains contextual relevance from that heading.
- Page topical authority: Google ranks images from pages it considers authoritative on the topic. Build topical depth — multiple detailed articles on your subject area — rather than isolated pages.
- Open Graph image tags: Set
og:imageto your highest-quality image. This image appears when your page is shared on social media and is also indexed by Google.
7. Optimizing Images for Google Discover
Google Discover (the personalized feed in Chrome and on Android) can send enormous traffic to content sites. Images are central to Discover eligibility:
- Images must be at least 1200 pixels wide to be eligible for Discover display
- High-resolution, visually compelling images dramatically increase click-through from Discover cards
- Enable the
max-image-preview:largerobots meta tag:<meta name="robots" content="max-image-preview:large"> - Articles published within the last 24–72 hours are most likely to appear in Discover
8. The Complete Image SEO Checklist
- ✓File name: Descriptive, hyphenated, keyword-relevant, lowercase
- ✓Alt text: Specific description matching image content, natural keyword inclusion
- ✓File size: <200 KB heroes, <100 KB featured, <30 KB thumbnails
- ✓Format: WebP (or AVIF+WebP) for all new images
- ✓Dimensions: Match display size, 1200px+ wide for Discover eligibility
- ✓width/height attributes: Set on all img tags to prevent CLS
- ✓loading="lazy": On all below-fold images
- ✓fetchpriority="high": On LCP image (hero)
- ✓Schema markup: Article, Product, or Recipe schema with ImageObject
- ✓og:image: Set to 1200×630 image for each page
- ✓Image sitemap: Submit image sitemap to Google Search Console
- ✓Caption: Descriptive captions on featured images
- ✓CDN: Serve images from CDN with cache headers
- ✓max-image-preview:large: Enable in robots meta for Discover
- ✓Core Web Vitals: LCP <2.5s, CLS <0.1