Skip to content

Image SEO: How to Get Your Photos Ranking in Google Images

Google Images drives a large share of all search traffic, and most sites leave it on the table. This is the complete checklist — filenames, alt text, formats, structured data and Core Web Vitals.

The image SEO checklist

  1. Descriptive, hyphenated filename
  2. Accurate alt text written for humans
  3. Modern format (WEBP or AVIF) with a fallback
  4. Correct dimensions — never scale a huge file down in CSS
  5. Explicit width and height attributes
  6. Lazy loading for below-the-fold images only
  7. Supporting caption and surrounding text
  8. Image included in your sitemap
  9. Structured data where the image represents a product, recipe or article

1. Filenames are free ranking signal

IMG_4821.jpg tells Google nothing. blue-ceramic-coffee-mug-handmade.jpg tells it the subject, the material and the colour. Use lowercase, separate words with hyphens (not underscores), and skip keyword stuffing — three or four meaningful words is right.

Renaming hundreds of files by hand is miserable; see the bulk rename workflow for a faster route.

2. Alt text: write it for a person

Alt text exists so a screen-reader user understands the image. Search engines use it because it is usually the most honest description available. Write what you would say out loud if you were describing the picture to someone on the phone.

  • Bad: alt="mug"
  • Worse: alt="mug coffee cup ceramic buy mugs online cheap mugs"
  • Good: alt="Handmade blue ceramic coffee mug on a wooden table"

Purely decorative images should have an empty alt attribute so screen readers skip them entirely.

3. Format and weight decide whether you rank at all

Page speed is a confirmed ranking factor, and images are almost always the heaviest thing on a page. Serving a 2 MB PNG where a 120 KB WEBP would do is the single most common performance mistake on the web.

Image roleFormatTarget weight
Hero bannerAVIF + WEBPUnder 200 KB
In-article photoWEBP60–150 KB
Product listing thumbnailWEBP20–60 KB
Logo or iconSVGUnder 10 KB
Screenshot with textPNG or WEBP losslessUnder 200 KB

Hit those numbers with the compress to size tool and the JPG to WEBP converter. Read WEBP vs AVIF to decide which to use where.

4. Dimensions, layout shift and LCP

Two Core Web Vitals hinge on images. Largest Contentful Paint is usually your hero image, and Cumulative Layout Shift happens when images load without reserved space.

  • Always set width and height attributes — the browser reserves the space.
  • Never lazy-load the hero image; use fetchpriority="high" instead.
  • Do lazy-load everything below the fold with loading="lazy".
  • Serve responsive sizes with srcset so phones do not download desktop-sized files.

The image resizer and aspect ratio calculator make producing matching sets quick.

5. Context beats everything

Google reads the text around an image to understand it. An image sitting alone in a gallery with no caption and no nearby copy has almost nothing to rank on. Add a real caption, mention the subject in the paragraph above, and make sure the page title matches what the image shows.

6. Structured data and sitemaps

Add Product, Recipe, or Article structured data with an image property and your pictures become eligible for rich results and image badges. Include image entries in your XML sitemap so Google discovers pictures that are loaded by script.

7. The mistakes that quietly cost you

  • Blocking your image folder in robots.txt (surprisingly common).
  • Hotlinking images from a CDN with no attribution back to your domain.
  • Uploading the same stock photo everyone else uses — original photography ranks better.
  • Text baked into images, where search engines cannot read it.
  • Missing HTTPS on image URLs, which triggers mixed-content warnings.

A 20-minute audit you can run today

  1. Open your five most important pages and check every image's file size.
  2. Convert anything over 300 KB to WEBP and re-measure.
  3. Rewrite any alt text that is empty, generic or keyword-stuffed.
  4. Rename files that look like camera output.
  5. Confirm width and height attributes are present everywhere.

Pair this with our website compression guide for the server-side half of the job.

Image Optimization Tips

Get weekly tips on image formats, compression, and web performance.

No spam, unsubscribe anytime. We respect your privacy.