top of page

Image SEO: How to Optimize Images for Google Search

Writer: Darren Paterson
Darren Paterson
Jan 13, 2025
5 min read

Updated: 5 days ago

Image SEO means helping people and search engines understand a useful image in the context of its page. A relevant, clear photograph can explain a service or product more effectively than a decorative image chosen only to fill space.


Start with the purpose of the image, then review its description, placement and effect on the visitor’s experience.


Person using a phone, text: "Optimizing Images for Google Search." Background has colorful squares. Codemasters Agency at the bottom.

Choose an image that answers a question


For a service business, consider what the customer needs to assess. A project photo might show the type of work, scale or finished result. A product image might explain a detail that affects the purchase.


Use your own work when available and describe it accurately. Do not label a stock photo as a completed client project. Confirm that you have the right to publish each asset.


Use descriptive filenames and page context


Google’s image SEO guidance recommends discoverable images, useful landing-page context and a balance between visual quality and loading performance.


Give new files meaningful names before upload when practical. A name such as hamilton-office-reception-renovation.jpg is more useful to an editor than IMG_4821.jpg. Do not rename established assets solely to insert extra keywords.


Place the image beside the section it explains. A caption can identify the project or clarify what readers should notice.


Four smartphone screens display Google search results with colorful icons, tabs, and grids. Red, green, blue, and yellow graphics dominate.
Illustrative mobile search interfaces showing how images can appear alongside other information.

optimizing images for google search tips and best practices
Original illustration of image-related text in a search result.

Write alt text for the image’s purpose


Describe the meaningful information in the image without turning the alternative text into a keyword list.


For example, “Renovated reception with a lowered service counter” communicates more than “best renovation company Hamilton renovation services.” The right description depends on what the page is explaining.


Decorative images may need empty alternative text rather than a redundant description. W3C’s introductory accessibility checks explain why image alternatives need to be evaluated in context. For broader obligations, see our AODA website guide.


An instructional graphic showing correct and incorrect HTML for alt text. The correct version has an alt tag; the incorrect version uses a div.
Example HTML image alternatives. Use the alt attribute on an image; a visual label on another element is not an equivalent text alternative.

Review quality at the displayed size


Check whether the subject remains legible on a phone. An image containing a dense table may be unreadable when scaled down; present the information as page text or a table instead.


Keep an original asset and an optimized publishing version. Compare the result visually before replacing it. If compression damages a product detail or makes text difficult to read, the smaller file may not be a better choice.


Check performance after publishing


Test a representative page in PageSpeed Insights and review the actual image-related findings. Do not assume that every image needs the same file type, dimensions or loading behaviour.


Look at the page itself as well as the report. Does a large image delay important information? Does content move as images appear? Our PageSpeed guide explains the distinction between lab tests and real-user data.


Keep a simple publishing checklist


For each important image, record:


  • Its purpose on the page.

  • The source and usage permission.

  • A descriptive filename for new uploads.

  • Appropriate alternative text.

  • Any caption needed to explain context.

  • The result of a mobile and performance review.


This makes future replacements easier to assess. A new editor should be able to understand why an image exists without guessing.


Match the image to the surrounding explanation


Choose a visual because it helps the reader understand something. A screenshot can show where a setting lives, a product photo can reveal a detail and a diagram can explain a relationship. Place it near the section that discusses it, with a caption when the significance is not obvious.


The restored search-result examples illustrate different ways images can appear. They are examples of presentation, not a promise that a particular page will receive the same treatment. Google’s image SEO guidance is the primary reference for image discovery and presentation practices.


Make screenshots readable at the article’s width


Start with a source image large enough for the intended display, then check it in the published article. A full desktop screenshot shrunk to a phone width can make every label unreadable. Focus the screenshot on the relevant interface area while retaining enough context for the reader to recognize it.


Keep essential instructions in the surrounding text. A person should be able to understand which setting to change without extracting tiny text from an image. If a screenshot includes customer records, private information or a secret value, remove that information before publishing an appropriate version.


Label older interfaces honestly. An archived screenshot can explain a concept, but it should not be presented as evidence of current pricing, limits or account eligibility. Update the text and links when the interface changes substantially.


Write an alternative that fits the image’s purpose


Describe the information the image contributes in this context. For a tutorial screenshot, identify the relevant control or state. For a chart, provide the important data or conclusion in accessible text as well. Avoid filling the alternative with unrelated services or place names.


The restored HTML example shows the distinction between an image’s alt attribute and text placed in another element. In Wix, use the appropriate image alternative-text control rather than adding a visually hidden keyword list. Keep a visible caption when readers also need an explanation of the example.


Keep product imagery useful and honest


Use a clear main image and supporting views that answer a buyer’s questions. Show the product that is actually being described, and avoid an image that suggests an included accessory or feature when it is not part of the offer. Check crops so important details remain visible on narrow layouts.


The original product-search screenshots illustrate why the surrounding page needs accurate product information. The image is one part of the presentation; the page still needs a useful description and a clear next step. Do not use a search screenshot as proof of a current price or stock level.


Search results for Nike Running Shoes from Foot Locker and Nike. Images of black and white shoes displayed. Offers of free delivery and returns.
Original product-search example. Product presentation and availability vary by query.

Review file size and loading in context


Prepare an appropriately sized source and inspect the resulting page on mobile. A visually sharp image can still be unnecessarily heavy, while excessive compression can make instructional text difficult to read. Compare the result at its real displayed size.


Use our PageSpeed Insights guide to investigate an actual performance problem. Check the page after publishing rather than assuming an image change improved the visitor experience. Preserve useful illustrations while making their delivery efficient.


Screenshots and examples


Google search results for "Nike" show links for Nike.com, Running, sales, and categories. Sidebar displays Nike shoes and info.
Original example of branded search results containing product imagery.

Does alt text guarantee Google Images traffic?


No. Treat it as a description that helps make the page understandable and accessible, not a promise of rankings.


Should every image include the city and service name?


Only include information that accurately describes the image and its purpose. Repeating a location in every image alternative is not a substitute for useful content.


Is a stock image always a poor choice?


A stock image can serve a legitimate illustrative purpose. Be clear about what it represents and avoid presenting it as evidence of your own project.


If your website needs help with images, layout or performance, contact CodeMasters with a representative page and the issue you want to improve.

bottom of page