Optimizing text content is a topic that receives a lot of attention in SEO . Meanwhile, images—though present on almost every website—remain a neglected area of SEO.
Well-optimized photos and graphics can generate significant organic traffic from Google Images, appear in Google Lens visual search results, and even land on AI-generated answers in AI Overviews.
In this article, we explain how to approach graphic positioning – from technical basics to format strategy and measuring results.
Why does graphic positioning matter?
Google Images is a distinct organic traffic channel used by millions of users every day. They search for products, inspiration, instructions, and information, and reach websites directly by clicking on an image. For online stores, blogs, and content sites, it's a traffic source that often remains untapped.
(The rest of the article can be found below the form)
Visual search itself has also changed. Google Lens allows users to upload photos of items and search for identical or similar products online. This makes image SEO a key part of a sales strategy.
The Role of Image Optimization in the Age of Google AI Overviews
It's also worth paying attention to AI Overviews, Google's search results format based on generative artificial intelligence, which is increasingly supplemented with images. Pages with well-optimized images have a greater chance of having their images selected as illustrations of AI responses.
How does Google index images?
Google's search engine algorithms rely primarily on text signals accompanying images to assess their topic and relevance. The more context a page provides, the better Google's robot understands what the image represents and what keywords it should be displayed for.
Key signals Google considers when indexing images include the file name, alt attribute, page title, headings, and the text immediately surrounding the image. The caption below the image is also important—Google treats it as a direct description of the image.
It is also worth ensuring that each image is embedded using a standard HTML tag. with the src attribute. Images loaded solely via JavaScript, without a proper fallback in the HTML code, can cause problems for crawlers.
Image Sitemap – Image Indexing on Large Websites
For large websites—e.g., online stores with thousands of product photos or portals with extensive galleries—it's a good idea to implement an image sitemap. It differs from a standard sitemap in that it contains image URLs, including those from external CDN subdomains, and directly informs Google which images should be indexed.
Alt Attribute and Filename – The Foundation of Image SEO
Fundamental yet often neglected elements of image optimization are the file name and alt attribute. Completing them correctly is the minimum requirement for any image positioning effort.
The filename should concisely describe the image's content and include a keyword phrase. Spaces should be replaced with hyphens, and Polish diacritics and generic strings like IMG_4829.jpg should be avoided. Instead, use: buty-do-biegania-nazwamarki-nazwamodelu.jpg. A descriptive filename signals the Google crawler when discovering the resource.
The alt attribute is an alternative description of an image contained in the HTML code, which serves two purposes: it informs search engine robots about the image's content and is read by screen readers for blind people.
It should naturally describe what the image is depicting—taking into account the keyword phrase, but without being artificial. For more information on how to properly use alt tags, see: Alternative Text (ALT Tag) – What Is It? Definition and Importance for SEO.
The role of alt and title attributes in the positioning of product graphics
The title attribute is less important from an SEO perspective, but it's worth adding – it appears when you hover over an image and is a good complement to the alt attribute. For online stores, it's worth adding SKUs, ISBNs, or model numbers to the alt attributes – users searching for a specific product often enter these search queries.
What image formats should I use?
The choice of image file format affects page loading speed, which translates into your Google ranking. The current standard for photos and illustrations on websites is the AVIF format – it offers the best compression while maintaining high visual quality and is supported by all major browsers.
WebP remains a proven intermediate format, and its widespread support makes it a good fallback where AVIF is not available. SVG is a good choice for icons, logos, and interface graphics – it scales without loss of quality and is natively supported by browsers.
JPEG and PNG should not be the default formats. A practical implementation is as follows: the <picture> element defines the order of formats from most efficient to most compatible – AVIF, then WebP, and finally JPEG as a safeguard for very old browsers. The GIF format for animations is deprecated and should be replaced by MP4 or WebM video, which offer significantly better quality and smaller file sizes.
Images and Core Web Vitals
The connection between image optimization and page speed is closer than you might think – and this directly translates to rankings in Google. Images account for an average of 50–70% of a page's total weight, so optimizing them yields the fastest results in improving performance.
The Largest Contentful Paint ( LCP ) metric most often refers to an image: a hero banner, a main product image, or a blog post's featured image. The size and format of this image determines whether a page meets Google's quality thresholds.
It's a good idea to mark an LCP image with the fetchpriority=”high” attribute so that the browser prioritizes downloading it over other resources. Learn more about how Core Web Vitals affect SEO and how to improve them in the article: Core Web Vitals – What are these metrics and how do they affect website SEO?
The CLS (Cumulative Layout Shift) score is often compromised by images without declared dimensions. If the <img> tag doesn't include width and height attributes, the browser doesn't know how much space to allocate before downloading the file, so it rearranges page elements during loading, resulting in a user-experienced content "jumping." Adding these attributes is one of the simplest technical fixes that can significantly improve your CLS score.
Lazy image loading and the LCP indicator
The native loading=”lazy” attribute allows you to defer loading images below the viewport until the user scrolls to them. This doesn't require JavaScript libraries—simply adding the attribute to the <img> tag. An important caveat: loading=”lazy” should not be used for an LCP image, as it will delay its loading and degrade the result.
The uniqueness and quality of the graphics
Google indexes one unique version of an image – if the same stock photo appears on thousands of pages, the search engine has no reason to single out your site. Your own product photography, original illustrations, and original infographics have a real advantage in terms of image visibility in search engines because they don't compete with copies on other domains.
Online stores selling products from multiple suppliers face a unique challenge: manufacturer product photos are usually identical across all distributors. The solution is to crop the images yourself, change the background, add contextual elements, or create your own photo shoots.
Even a minor visual tweak makes the image unique to Google's algorithms. Consistency between the image and the page's content is another sign of relevance – the image should illustrate the topic for which it is optimized.
How to measure the effects of graphic positioning?
The best tool for tracking SEO results for images is Google Search Console. After logging in, go to the Performance report and change the search type from the default "Web" to "Images."
The report will show clicks, impressions, and average positions for traffic from Google Images. The tool doesn't extract individual image files—it shows the URL of the page where the image is embedded, not the file name itself.
Google PageSpeed Insights and Lighthouse are used to perform technical audits of image performance. Both tools highlight images requiring compression, suggest modern formats, and identify images that are causing Core Web Vitals issues. Regularly checking these reports allows you to catch new issues before they negatively impact your site's visibility.
Frequently asked questions about graphic positioning
Image SEO is the process of optimizing visual elements on a website so that Google's search engines can easily understand them and display them high in search results (both in the Google Images tab and in standard results as image packs). It's a key source of free traffic, especially in e-commerce industries like fashion, home furnishings, and beauty, where customers "buy with their eyes."
The ALT attribute is the most important element of image optimization. It's a text description of the image that Google's crawlers read to understand exactly what the image is about (it also helps visually impaired users who use screen readers).
The golden rule for creating ALTs: Write naturally, concisely, and use keywords sparingly.
- Wrong: alt=”shoes cheap shoes sneakers sports shoes” (practicing so-called keyword stuffing).
- Good: alt=”red men’s running shoes”.
Google analyzes the filename before it even reaches your site. Instead of using the default names from your camera or phone (e.g., DCIM_00123.jpg), give your file a unique name that describes its contents. Use lowercase letters, eliminate Polish characters, and replace spaces with hyphens, not underscores.
Example: modern-hanging-lamp-living-room.jpg.
The size and weight of images have a huge impact on your website's loading speed, which is an official Google ranking factor.
- Size: Adjust the file resolution to fit the space on the page (do not upload 5000 px wide images if they will be displayed in a 500 px wide frame).
- Format: While traditional JPG and PNG formats are accepted, Google recommends using modern, next-generation formats like WebP or AVIF. These offer excellent quality while significantly reducing file size.
Yes. Google's algorithms are incredibly intelligent and assess the context in which a given photo appears. Make sure that the content of the article or product description directly relates to the adjacent image. It's also a good idea to use clear captions under photos, which web users readily scan with their eyes.
This is a special XML file (or an addition to your main sitemap) that lists the URLs of all relevant images on your website. It helps Google's crawlers find and index even images loaded via JavaScript and otherwise missed by standard crawling. It's a must-have for large online stores and portals with extensive photo galleries.
Summary
The above article covers the following topics:
- Image SEO is a full-fledged organic traffic channel – it includes Google Images, Google Lens visual search, and presence in AI Overviews.
- Google indexes images based on text signals – file name, alt attribute, on-page context, and image sitemap.
- The alt attribute and file name are fundamental when optimizing photos – they should naturally describe the graphic content and contain keywords.
- The standard for photos is AVIF format with fallback to WebP.
- Images have a direct impact on Core Web Vitals – especially the LCP and CLS metrics, which are Google ranking factors.
- The effects of image positioning are measured in Google Search Console.