PixelResize
SEO9 min readUpdated June 21, 2026

Image SEO in 2026: How to Optimize Photos for Google

Written by The PixelResize Team

Images are usually the heaviest part of a web page and one of the most overlooked ranking opportunities. Optimize them well and you get two wins at once: faster pages that score better on Core Web Vitals, and images that surface in Google Images and AI Overviews to bring in extra traffic.

This is a practical, no-fluff image SEO checklist for 2026. It covers the technical side — compression, formats, dimensions — and the on-page side — file names, alt text and structure — so your photos help your rankings instead of dragging them down.

Compress Image

Shrink JPG, PNG & WebP files without visible quality loss.

Open the tool

Compress every image before you publish

Page speed is a confirmed ranking factor through Core Web Vitals, and oversized images are the most common cause of a slow Largest Contentful Paint. An uncompressed hero photo can single-handedly fail your LCP score.

Compress every image before it goes live. For most photos you can cut 60–90% of the file size with no visible loss. Aim to keep individual images well under 500KB, and far smaller for thumbnails and in-content images.

Serve modern formats

Format choice affects file size more than any quality slider. Use WebP as your default — it's typically 25–35% smaller than JPG and supported everywhere. High-traffic sites can go further with AVIF and a fallback. Reserve PNG for graphics, logos and transparency.

Size images to their display dimensions

Serving a 4000-pixel photo inside an 1100-pixel column wastes bandwidth and hurts speed. Resize each image to the largest size it's actually displayed at before compressing.

Just as important, always set explicit width and height (or a CSS aspect ratio) so the browser can reserve space. That prevents Cumulative Layout Shift — the page jumping as images load — which is its own Core Web Vital.

File names and alt text

Search engines read your file names and alt text to understand what an image shows. Both are quick wins most sites get wrong.

  • Name files descriptively before uploading: red-leather-handbag.webp, not IMG_4821.jpg.
  • Write alt text that genuinely describes the image for screen-reader users; relevant keywords follow naturally from an honest description.
  • Don't keyword-stuff alt text — it reads badly and helps nothing.
  • Use captions where they add context; people read them, and they reinforce relevance.

Help Google discover your images

  • Include images in your XML sitemap so they can be crawled and indexed.
  • Use responsive images (srcset) so each device downloads an appropriately sized file.
  • Lazy-load below-the-fold images so they don't block the initial render.
  • Add relevant structured data (such as product or recipe markup) so images can appear as rich results.

A repeatable pre-publish routine

Make image optimization a habit, not an afterthought. Before publishing any image: rename it descriptively, resize it to its display size, convert it to WebP, compress it, then add meaningful alt text. The whole routine takes under a minute per image and compounds across every page on your site.

Key takeaways

  • Compress every image — oversized photos are the top cause of slow LCP.
  • Default to WebP; use AVIF with a fallback on high-traffic pages.
  • Resize to display dimensions and set width/height to avoid layout shift.
  • Use descriptive file names and honest, useful alt text — never keyword-stuff.
  • Include images in your sitemap and use responsive, lazy-loaded images.

Frequently asked questions

Related tools