Most websites treat images as decoration. They upload a photo, keep whatever name the camera gave it, and move on. Then they wonder why their pictures never appear in Google Images or Google Discover. Image SEO fixes that. It covers file names, alt text, formats, compression and the code that tells Google an image exists — and it brings traffic from Google Images, Discover and Lens.
The questions business owners ask about image SEO
- “Why aren’t my images showing up in Google Images?” Usually because Google cannot see them: they load as a CSS background, a folder is blocked in robots.txt, or the file is not in an ordinary img element.
- “Do I need to rename all my image files?” The ones that matter, yes. A descriptive file name is a signal Google reads, and IMG_4821.jpg tells it nothing.
- “What should I write in alt text?” One sentence that describes the picture to someone who cannot see it. That is the whole job.
- “How big should my images be?” Big enough to look sharp, small enough to load fast. For Discover, the featured image must be at least 1,200 pixels wide.
- “Can stock photos rank, or do I need my own photos?” Stock photos can rank in Images, but original photos win in Discover and build trust stock cannot.
- “How much does image SEO cost?” On its own, very little. Most of it is careful naming, writing and compression, which costs time rather than money.
First, can Google even see your images?
An image can rank only after Google has indexed it, and indexing has gates. The first gate is robots.txt: if the image URL, or the folder or content delivery network that serves it, is disallowed, Googlebot-Image cannot fetch it. The second gate is format. Google can index images in BMP, GIF, JPEG, PNG, WebP, SVG and AVIF formats. The third gate is delivery. Google finds images in the src attribute of an img element. A picture loaded as a CSS background has no img element, so Google does not index it as an image at all. If the design needs text over a picture, use a real img element and position the text over it.
There is one more rule that catches people out. Google asks you to reference the same image with the same URL every time it appears, and to keep the file name when you re-export it. A new URL starts the image again from zero, so renaming a file that already ranks throws away the history it built.
The three checks to run today
Open Google Search Console, go to the Performance report and change the search type filter from Web to Image. If the report is empty, image search is sending you nothing, and that is your baseline. Then pick your five most important pages and view the page source: confirm each key image is in an ordinary img element with a src attribute. Finally, open robots.txt and confirm your image folders and image host are not disallowed.
File names and alt text: the two signals that matter most
The file name is the first and most direct signal you send to Google about what a picture shows, and it is the most commonly wasted one. Google’s documentation recommends short, descriptive file names: it prefers my-new-black-kitten.jpg over IMG00023.JPG. A plumber’s photo should be emergency-boiler-repair-leeds.jpg, not photo-final-v2.jpg. Keep file names lowercase, separate words with hyphens, and keep them short enough to read at a glance. Rename files before you upload them, because renaming after upload usually changes the URL, and a new URL starts the image from zero.
Google describes the alt attribute as the most important metadata you can provide for an image. It tells screen reader users what the picture shows, and it helps Google understand the topic of the image. Write one specific sentence that describes the image, the way you would describe the photo to someone who cannot see it. For a product photo, that means the product, the colour and the angle. Do not stuff keywords into alt text. Google warns against it in the same guidance that calls alt text important, and a sentence such as “plumber Leeds emergency plumber cheap plumber Leeds” tells Google less than a plain description would. Decorative images are the exception: if an image adds nothing, leave its alt attribute empty so screen readers skip it.
The words around the image do half the work. Google reads the page title, the text near the image, the caption and the topic of the page, and recommends placing images near relevant text. Put the image next to the paragraph it illustrates, write a caption when the picture needs one, and keep it on a page about the same subject.
Format and size: fast images rank better
Images are often the largest part of a page, and Google Search Central says so directly. A slow page ranks worse and converts worse, so image size is a ranking concern and a sales concern at the same time.
Use WebP wherever possible. It compresses better than JPEG and PNG at the same visible quality. AVIF compresses better still and is supported by Google, but check that your tools and your content delivery network handle it before you switch a whole library. JPEG is still fine for photographs when WebP is not available, and PNG is the right choice for logos and graphics with sharp edges.
Compress every image before upload. A practical target for most product and content photos is under 150 kilobytes without a visible loss of quality. Free tools such as Squoosh can do this in a browser. Serve responsive images too: the srcset and sizes attributes let the browser pick the right size for the screen, which cuts the weight on mobile, where most image searches happen. Add lazy loading so images below the fold load as the reader scrolls. Together, these are usually the biggest single speed win on an image-heavy page, and they sit on the technical foundation every site needs.
Structured data and image sitemaps: what they actually do
Structured data earns images a place in richer results. Adding an ImageObject with a license property makes the image eligible for the Licensable badge in Google Images. Adding your image URLs inside Product schema connects the picture to the product it depicts, which feeds Google Lens and the Shopping Graph. Our schema markup guide walks through the types that matter for a business site.
An image sitemap is a discovery aid, not a ranking lever. It is an XML file that lists the images on your pages, including images that load in JavaScript galleries or that Google might otherwise miss. It helps Google find pictures, especially on large sites and stores with big catalogues. It does not make an image rank higher. One more thing structured data cannot do: the rel=canonical tag does not apply to images. Google matches visually similar versions of an image on its own.
Google Discover and Lens: the traffic most sites ignore
Google Discover shows large images from pages it picks for each reader, and it is one of the biggest sources of traffic that search alone never brings. A page needs a large, high-quality image to qualify: at least 1,200 pixels wide, with the max-image-preview:large meta tag, ideally in a 16:9 ratio. The editorial bar matters more than the technical one. Discover picks pages that are interesting, timely and original, and the picture is what makes a reader stop. A generic stock photo of a handshake will not stop anyone. A real photo of your team on a job, or a clear photo of the product in use, has a far better chance. Check the Discover report in Search Console to see which of your pages Discover already shows.
Google Lens runs around 20 billion visual searches a month, according to Google, and roughly a fifth of those are shopping-related. A person points their phone camera at a product, a plant or a room, and Lens finds matching pictures and pages. Lens draws from the same indexed-image corpus as Google Images, so everything in this guide applies to it. Show the product clearly, on its own, against a plain background, and add more than one angle. Add Product structured data so Lens can connect the picture to a price and a place to buy. For a local business, a clear photo of your shopfront, your team, or a finished job is exactly the kind of picture Lens users take and search with.
What image SEO costs
Most image SEO costs time, not money. Renaming files, writing alt text, compressing images and adding captions are jobs a site owner can do in an afternoon for the pages that matter. Free tools cover the compression, and Google Search Console, which is free, covers the measurement. The costs appear when the work is bigger than one afternoon: a store with thousands of product photos needs a naming convention, a compression step in the upload workflow, and someone who checks the Image search report each month. An agency engagement that includes image SEO normally sits inside a wider technical SEO plan. Onyx Growth Labs plans start from $60 a month, and image work is part of the technical and on-page work those plans cover.
Your image SEO checklist
- Open Search Console and switch the Performance report to Image search. That is your baseline.
- Check robots.txt and confirm your image folders and image host are open to crawling.
- Confirm every important image is in an ordinary img element with a src attribute.
- Rename the files that matter, before upload, with short descriptive names in lowercase with hyphens.
- Write one descriptive sentence of alt text for every image that carries meaning.
- Place each image beside the text it illustrates and give it a caption when it needs one.
- Compress every image, serve WebP where you can, and use responsive images.
- Add structured data where it fits: ImageObject with a license, Product schema for products.
- Make the featured image of every important page at least 1,200 pixels wide, with the max-image-preview:large tag.
- Check the Image and Discover reports in Search Console each month.
Image SEO is not a trick and it is not a separate discipline. It is the ordinary work of making a page complete: the right picture, named properly, described properly, sized properly, and placed where it belongs. Do that on the pages that matter and the images start to earn their own traffic.
Can I use the same image on several pages?
Yes. Google matches visually similar versions of an image on its own and works out which page to show for a given search, so reusing a logo or a team photo across pages is fine. For pictures that carry the ranking value of a page, such as a product photo, use a distinct image where you can so each page has its own visual identity.
Does Google index images inside sliders and galleries?
Google indexes images it can find in an img element when it renders the page, including images inside a gallery. Images that only load after a click, or that live in a JavaScript gallery Google cannot render, may never be discovered. If a gallery image matters, make sure it appears in the page source and consider listing it in an image sitemap.
Should I watermark my images?
A small, unobtrusive watermark in a corner is fine and does not stop Google indexing the image. A large watermark across the middle of the picture hurts the image in two ways: it looks worse to readers and it makes the picture harder for visual search to match. If you need to protect an image, a corner mark is the better trade-off.
Do I need an image CDN?
Not for most small sites. A content delivery network helps when your visitors are spread across countries or when your image library is large, because it serves pictures from a server near the reader. For a small business site with a modest library, good compression and responsive images deliver most of the speed benefit without the extra cost and setup.
Can AI-generated images rank in Google Images?
Google does not ban AI-generated images. What matters is whether the image is relevant, high quality and useful on the page, exactly as with any other picture. Content credentials can label an AI image through Google’s “About this image” feature, so be honest about what a picture is — a clear, relevant AI illustration can rank, but a generic AI image that adds nothing will not.
Leave a Reply