SEO Image Optimization

Images make pages more engaging, but they also create SEO opportunities and risks. Unoptimized images slow down your website and miss valuable ranking signals. Properly optimized images speed up your site, help you appear in Google Image Search, and reinforce your page's topic for Google's crawlers.

Why Images Need SEO Optimization

Google cannot see images the way humans do. It reads the text surrounding an image, the file name, and the alt text to understand what the image shows. Without these signals, Google treats your image as a mystery and skips its ranking potential entirely.

Element 1: Alt Text

Alt text (alternative text) is a short description of an image written in HTML. It serves two purposes: it tells Google what the image shows, and it provides a text substitute for visually impaired users who use screen readers.

Diagram: Alt Text Impact

IMAGE FILE: img_1234.jpg

WITHOUT ALT TEXT:
Google sees: [???] -- No information about the image

WITH ALT TEXT: alt="red leather wallet for men"
Google sees: [red leather wallet for men] -- Clear context

Result: The image appears in Google Image Search for 
"red leather wallet for men" and reinforces the page topic.

How to Write Good Alt Text

  • Describe the image accurately and specifically.
  • Include your primary keyword where it fits naturally.
  • Keep it under 125 characters.
  • Do not start with "image of" or "picture of" — Google already knows it is an image.
  • Do not stuff multiple keywords into alt text.

Alt Text Examples

Image: A woman doing yoga on a beach at sunrise

BAD:  alt="yoga"
BAD:  alt="image of a person doing yoga fitness exercise wellness"
GOOD: alt="woman practicing yoga on beach at sunrise"
BEST: alt="beginner yoga pose on beach for stress relief"
      (if the page is about yoga for stress relief)

Element 2: File Name

Before uploading an image, rename the file to describe what it shows. Google reads file names as another signal of an image's content.

File Name Examples

BAD:  IMG_20240301_142356.jpg
BAD:  photo.jpg
GOOD: red-leather-wallet-men.jpg
GOOD: beginner-yoga-beach-pose.jpg

Use hyphens between words, keep it descriptive, and include your keyword where relevant.

Element 3: Image File Size

Large image files are the single biggest cause of slow page load times. A 5MB photo that takes 8 seconds to load destroys user experience and SEO performance. Compress images before uploading them to your website.

Target File Sizes

CONTENT TYPE          TARGET SIZE
Blog post images      Under 100 KB
Hero images           Under 200 KB
Product photos        Under 150 KB
Thumbnails            Under 30 KB

For comparison:
Uncompressed DSLR photo: 5,000–15,000 KB (too large!)

Free Compression Tools

  • TinyPNG / TinyJPG: Drag-and-drop compression that reduces file size by 60–80% with no visible quality loss.
  • Squoosh (by Google): Browser-based tool with live quality preview.
  • ShortPixel (WordPress plugin): Automatically compresses images as you upload them.

Element 4: Image Format

Choosing the right image format affects both quality and file size:

  • JPEG/JPG: Best for photographs and images with many colors. Good compression.
  • PNG: Best for images with transparent backgrounds, logos, and screenshots.
  • WebP: Google's modern format. Smaller than JPEG and PNG with equal quality. Use WebP whenever your website supports it.
  • SVG: Perfect for logos and icons. They scale to any size without losing quality.

Element 5: Image Dimensions

Upload images at the size they will actually display on the page. If your content area is 800px wide, do not upload a 3000px image and let the browser shrink it. The browser still downloads the full 3000px file, wasting bandwidth and slowing the page.

Element 6: Lazy Loading

Lazy loading means images below the visible screen area load only when the user scrolls down to them. This speeds up the initial page load significantly. WordPress enables lazy loading automatically for images on modern installations.

Image Captions and Context

Adding a caption below your image helps both readers and Google. Captions are read more often than body text — readers who scan pages stop at images and read the caption. Including your keyword naturally in a caption provides an additional relevance signal.

Key Takeaway

Image SEO involves five key practices: write descriptive alt text with your keyword, rename files before uploading, compress images to under 150KB, use WebP or JPEG format, and size images to match their display size. Together these steps speed up your page, improve accessibility, and help your images rank in Google Image Search.

Leave a Comment

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