How-To Guide

How to Optimize Images for Google in the Age of AI

Master the exact image optimization techniques Reputation X uses to control what Google shows in search results and Knowledge Panels for real clients.

SEO professionals, marketers, and reputation managers who need to control how images appear in Google search results.
  • Use WebP format as your default for photographs to improve compression and Core Web Vitals scores.
  • Name image files with descriptive, keyword-rich phrases instead of generic camera-assigned filenames.
  • Compress images using tools like Squoosh or TinyPNG to reduce load times and improve LCP rankings.
  • Write meaningful alt text that accurately describes image content for both SEO and accessibility.
  • Correct Knowledge Panel image errors by optimizing file names, alt text, and structured data signals.
TL;DR

Optimizing images for Google search requires attention to file naming, format selection, compression, and alt text. This article explains how to ensure the right images appear in search results and Google Knowledge Panels. Properly optimized images can drive traffic from visual search and support overall SEO performance.

How to Optimize Images for Google in the Age of AI 8 steps
  1. 1

    Choose the right image file type

    Default to WebP for photographs and complex images, as it offers superior compression and quality compared to older formats like JPEG and PNG. Google's PageSpeed Insights and Core Web Vitals actively flag non-WebP images as improvement opportunities. For vector-based graphics such as logos and icons, use SVG to ensure clean scaling at any size.

  2. 2

    Name image files with target keywords

    Use descriptive, keyword-rich file names instead of generic defaults like IMG1234.jpg. For example, a product photo should be named something like small-black-leather-bag.jpg to give search engines clear context about the image content. The file name should reflect the target search phrase you want the image to rank for.

  3. 3

    Compress images to reduce file size

    Large image files slow down page load times, directly harming both user experience and SEO rankings through Google's Core Web Vitals metric Largest Contentful Paint (LCP). Use tools like TinyPNG, Squoosh, ImageOptim, or ShortPixel to reduce file size without sacrificing visible quality. Many modern CDNs such as Cloudflare and Imgix can also handle compression and format conversion automatically.

  4. 4

    Write effective alt text for every image

    Alt text is a brief description of an image that helps visually impaired users and signals to search engines what the image and surrounding page are about. Incorporate relevant keywords naturally into your alt text, but avoid stuffing keywords purely for SEO purposes. Although Google's AI can now interpret image content directly via Google Lens and Vision AI, alt text remains a meaningful ranking signal and is essential for accessibility.

  5. 5

    Create and submit image sitemaps

    For websites with a large number of images, image sitemaps help search engines discover and crawl all images, including those embedded in JavaScript. Providing detailed information in your sitemap gives Google better context about your images, which can boost your visibility in image search results. Submit your sitemap through Google Search Console to ensure complete indexing.

  6. 6

    Add structured data markup to images

    Applying schema markup, such as ImageObject, to your images gives Google additional details that enhance visibility in image search results. Google also supports image properties within Product, Recipe, and Video schema types, extending opportunities beyond basic image markup. Always validate your schema using Google's Rich Results Test and the Schema Tester Tool before publishing.

  7. 7

    Use responsive images for all devices

    Responsive images ensure that appropriately sized images are served to users depending on their screen size and device, improving load performance and user experience. This is particularly important for Core Web Vitals compliance, as serving oversized images to mobile users can negatively impact LCP scores. Implement the HTML srcset attribute or a CDN with automatic resizing to deliver optimized images across all devices.

  8. 8

    Leverage Wikipedia to influence Knowledge Panel images

    Google may display incorrect images in Knowledge Panels, sometimes showing the wrong person or pulling from an unreliable source. Contributing accurate, properly licensed images to relevant Wikipedia articles can influence which image Google selects for a Knowledge Panel. This is a useful reputation management strategy when Google is consistently surfacing the wrong image for a person or brand.

At Reputation X, we often need to optimize images to rank higher and more visibly in our client’s search results. This article covers how to name image files, write effective alt text, implement structured data, use image sitemaps, and leverage Wikipedia to influence which images Google shows.

Sometimes, the wrong image is shown in Google Knowledge Graph. This may happen because Google is confused about who the pictures should be of, or it may even have the wrong people in the image card portion of the Knowledge Panel. We optimize image files so they show up more often in normal and visual search results. Optimizing images for Google search and for Knowledge Panels involves naming the image for SEO performance, page context, alt text, image title, page title, and rich snippets.

Why Image Optimization Matters for Google Search

Images hold immense potential in a web increasingly driven by visual content. A well-optimized image can be a significant source of traffic, often from image-based searches like Google Images. It can also improve the overall SEO of your page, making it more appealing to both users and search engines.

Choosing the Right Image File Type

When selecting a file type for your images, there are several options. Each has its pros and cons.

  • WebP is Google’s strongly recommended format for web images, offering superior compression and quality compared to older formats. Google’s PageSpeed Insights and Core Web Vitals actively flag non-WebP images as improvement opportunities.
  • AVIF is an emerging format with even better compression than WebP, making it worth considering for performance-critical implementations.
  • JPEG remains a solid fallback for detailed, color-rich images where WebP is not an option, providing good quality at a relatively small file size.
  • PNG offers high-quality images with transparency support, though file sizes tend to be larger.
  • GIF is suited for small, simple graphics and supports animation, though modern alternatives like animated WebP are increasingly preferred.
  • SVG is ideal for logos, icons, and other vector-based graphics that need to scale cleanly at any size.

Naming Image Files for SEO

An often overlooked detail is the filename of your image. Using descriptive, keyword-rich file names is important for image optimization. For instance, instead of naming an image “IMG1234.jpg,” use “small-black-leather-bag.jpg.” This gives search engines context about the image content.

Name the image using the target search phrase in the file name. For example, below is an image of Kent Campbell after eating an apparently undercooked octopus in Greece. The file name might be “kent-campbell-octopus-nose.jpg” or something similarly descriptive.

Kent Campbell with an octopus on his nose in Santorini, Greece

Optimizing Image File Size and Alt Text

Compressing Image Files

Compressing your images reduces file size without sacrificing quality. Large image files slow down page load times, which harms both user experience and SEO. Google has formalized page speed as a ranking signal through Core Web Vitals, and Largest Contentful Paint (LCP) — one of the three core metrics — is directly affected by image file size.

Tools like TinyPNG, Squoosh (built by Google), ImageOptim, and ShortPixel can significantly reduce file size while maintaining quality. Many modern CDNs, such as Cloudflare and Imgix, also handle image compression and format conversion automatically.

Get a Free Reputation Analysis

Find out what people see when they search for you online.

Writing Effective Alt Text

Alt text (alternative text) is a brief description of an image that appears when the image cannot be displayed. From an accessibility standpoint, alt text helps visually impaired users understand image content. It also signals to search engines what your image — and by extension, your page — is about.

Incorporate relevant keywords naturally. Do not stuff keywords for SEO reasons alone. It’s worth noting that Google’s AI-powered image understanding — including Google Lens and Vision AI — now allows Google to interpret image content directly, without relying solely on alt text. That said, alt text remains a meaningful ranking signal and is essential for accessibility.

Implementing Image Sitemaps

For websites with a large number of images, creating image sitemaps is beneficial. Sitemaps enable search engines to find and crawl all images, even those embedded in JavaScript. Providing detailed information in your sitemap helps Google better understand your images, potentially boosting your image search ranking.

Need Help Managing Your Search Results?

Reputation X helps brands and executives control what appears in Google — including images, Knowledge Panels, and more.

Get Started

Structured Data and Responsive Images

Using Structured Data for Images

Structured data, or schema markup, helps search engines better understand your site’s content. Applying structured data to your images gives Google additional details about them, enhancing your visibility in image search results. Google’s structured data for images page includes examples showing what the markup looks like.

Google also supports image properties within Product, Recipe, and Video schema types, so opportunities to enhance image visibility extend well beyond basic image markup. Always validate your schema using Google’s Rich Results Test and cross-check with the Schema Tester Tool before going live.

Using Responsive Images

With Google having fully rolled out mobile-first indexing, responsive images are now a requirement rather than a nice-to-have. Using HTML attributes such as srcset and sizes, you can serve different images based on the user’s screen size, ensuring a fast experience on mobile devices — which is now how Google primarily evaluates your site.

Serving appropriately sized images for mobile is also a Core Web Vitals consideration, making this one of the higher-impact optimizations available. Depending on your website setup, this may require a developer’s help.

Adding Image SEO Elements in WordPress

If you are using WordPress, you can add image SEO elements without hand-coding. Create a new post, then insert an image using the Block Editor’s Image block. Once you upload your image, WordPress displays the attachment details panel on the right-hand side, where you can fill in the alt text, title, caption, and description fields directly.

WordPress Block Editor attachment details panel showing alt text, title, caption, and description fields for image optimization

Fixing Images in Google Search Using Wikipedia

This approach is intended for well-known people and brands who need to change the images Google shows on a search results page.

If a person is notable, they probably have a Wikipedia page (or can earn one). One effective method for changing image search results is to identify a set of preferred images and release them under a Creative Commons (CC) license, allowing the public to use them free of charge under defined terms.

Get a Free Reputation Analysis

Find out what people see when they search for you online.

Get Your Free Analysis

Once licensed, the images can be uploaded to Wikipedia via the Wikimedia Commons Upload Wizard, which walks you through the licensing and categorization process.

For those familiar with Wikipedia, translating the page into other languages and publishing it on other Wikipedia editions can amplify the effect. This is an expert-level move — it involves more than translation. You must also source each statement with references in the target language, not simply reuse the same citations. Use a different image on each language version to maximize the number of preferred images Google encounters.

Steps for Using Wikipedia to Manage Google Image Results

  1. License preferred images under Creative Commons so they can be uploaded to Wikipedia.
  2. Translate an existing Wikipedia page into one or more other languages.
  3. Ensure that references supporting each relevant statement are also available in the target language.
  4. Create Wikipedia pages in other languages (for example, https://fr.wikipedia.org/) using the translated content.
  5. Insert different images of the person onto each language-specific Wikipedia page.

Why This Works

Google has long favored Wikipedia images in search results, and this approach can still effectively influence which images appear — particularly in Knowledge Panels. Google’s image sourcing has grown more dynamic with AI-powered search features, including AI Overviews, so results may vary depending on the person or brand and how competitive the search landscape is.

To see this in action, search a well-known public figure on Google Images, then search the results page for the word “wiki” and note how often it appears.

If you’re also working to change what appears in your Google Knowledge Panel more broadly, image optimization is just one piece of a larger strategy that includes structured data, authoritative citations, and consistent entity information across the web.

Conclusion

Image optimization is a multifaceted process that can significantly boost your Google search ranking. Implementing these strategies enhances your SEO efforts while offering a more engaging and accessible experience for your audience. For executives and brands concerned about their overall digital presence, pairing strong image optimization with a solid SEO reputation management strategy delivers the most durable results.

Frequently Asked Questions

Protect Your Online Reputation

Every day you wait, negative content gets stronger. Talk to our experts about a custom strategy for your situation.

Get Your Free Analysis
1-800-889-4812 | info@reputationx.com