Image SEO: 7 Best Proven Ways to Rank Images Faster

A photographer editing images on a laptop with printed photos on the desk for image seo

Most websites I audit carry the same hidden problem. Their images are heavy, unnamed, and invisible to Google. The photos look fine to a visitor. Google sees IMG_2047.jpg with an empty alt attribute and a 4 MB file. That is lost traffic and lost speed in one file. Image SEO fixes both problems at once.

Image SEO is the practice of optimizing the images on your website so they rank in Google Images and load fast enough to help the page rank. It covers file names, alt text, formats, compression, responsive delivery, and the code that tells Google an image exists. Done well, it brings traffic from image search and lifts page speed.

What Is Image SEO?

Image SEO is two jobs, not one. The first job is ranking your images in Google Images and visual search. The second job is keeping your pages fast, because images are usually the biggest thing on the page.

Google Images handles over a billion queries a day, according to Moz. Roughly 15.8% of regular Google results include image blocks, also according to Moz. That means ranked images surface even when nobody clicks the Images tab. At the same time, Google Search Central says images are often the largest contributor to overall page size. The same work pays twice in image SEO: image results traffic plus page speed.

Not every site benefits the same way. A furniture store, a bakery, a clothing shop, or a plant nursery sells things people recognise by sight, so image search sends real clicks. A B2B software site whose pictures are screenshots and stock photos of meetings usually pulls close to nothing from image search. No amount of alt text changes that. Step 1 of this image SEO guide tells you which kind of site you run.

1. Check Whether Image Search Sends You Traffic Yet

Before you touch a single file, measure. Open Google Search Console, go to the Performance report, and change the search type filter from Web to Image. The chart redraws against image results alone. In image SEO, measurement comes before optimization.

Read the clicks first, then switch back to Web and note that figure too. Image clicks as a share of the two is the honest size of the prize. Use the Pages tab for this reading, not Queries. Image queries are heavily anonymised and mostly unhelpful. The Pages tab tells you which of your pages people reach through a picture, and that is the part of image SEO you can act on.

If image clicks are a rounding error and you sell nothing visual, stop here and spend the morning on something else. If the number is real, or you sell visual products and the number is zero, the rest of this image SEO guide is worth your time. Either way, you now know the size of the prize before you spend an hour on it.

2. Make Sure Google Can See Your Images

This is the part most image SEO checklists skip, and it is where most of the damage is. Google indexes the file referenced in the src attribute of an img element. Anything that is not in an img src when Googlebot renders the page is not a candidate for Google Images at all, however good its alt text is.

Four faults make a picture invisible. Check each one on the pages that matter.

Your image is a CSS background

Hero banners and category tiles are often drawn with background-image in CSS. It looks identical to a visitor. To Google it is decoration, not content. Google Search Central says to use standard img tags rather than CSS background images for any picture you want indexed. If the hero is the best photograph on the page, it is the one that should not be a background.

Your lazy loader waits for a scroll that never comes

Google is explicit here. Its guidance says the methods it recommends do not rely on user actions such as scrolling or clicking to load content, because Google Search does not interact with your page. A lazy loader that parks the real URL in data-src and swaps it in on a scroll event hands Googlebot an empty src forever.

Native loading=”lazy” is safe. The browser decides when to fetch, and Googlebot renders with a very tall viewport, so the images load. An IntersectionObserver loader is safe for the same reason. A scroll handler or a click handler is not safe. This is the most common image SEO fault I find on WordPress sites with slider plugins. Neither is anything behind a Load more button, a tab that has to be clicked, or a carousel that only fills the slide it shows.

Your responsive markup has no usable fallback

A srcset or a picture element lists several files and lets the browser pick. Google asks you to always include a plain src as the fallback, and in image SEO that fallback is what gets treated as the image. Pipelines that emit only srcset, or set src to a 20-pixel blurred placeholder, offer Google a thumbnail as the canonical version of the photograph.

Your robots.txt blocks the image crawler

Images are fetched by a separate crawler with its own robots.txt token, Googlebot-Image. A Disallow covering /media/, /uploads/, /assets/, or a CDN host blocks it. The symptom is deceptive: the pages still index perfectly and only the pictures disappear. Check what your robots.txt covers, and remember a separate CDN domain needs its own robots.txt checked too. That is why image SEO audits always start with robots.txt.

Run one check that catches all four faults at once. In Search Console, open URL Inspection, test the live URL, view the rendered HTML, and search it for your image file names. If a picture that matters is not inside a src there, it does not exist to Google. Fix the template, not the page. In image SEO, these faults live in the theme and repeat on every page.

One more rule from Google, updated in May 2025: reference the same image with the same URL every time it appears. Keep the file name when you re-export. A new URL starts the image again from zero. Stable URLs are a quiet part of image SEO, and they cost nothing to keep.

3. Alt Text for Images: Write One Sentence That Describes the Photo

Once Google can fetch the file, image SEO becomes a writing job: relevance is decided by text. The file name, the alt attribute, the caption, and the copy immediately around the picture all count. Google Search Central describes the alt attribute as the most important attribute when it comes to providing more metadata for an image, and warns in the same breath against filling it with keywords.

Write one specific sentence that describes the image. Name the subject and its key attributes, and write it the way you would describe the photo to someone who cannot see it. Skip “image of” and “picture of” at the start. Engines and screen readers already know it is an image. Keep it under 125 characters, because some screen readers truncate around there. If you need more words, the extra detail belongs in a caption or the surrounding copy. Most image SEO wins come from this one sentence, not from a plugin.

Decorative images get an intentionally empty alt attribute, so assistive tech skips them. Every image that carries meaning gets a real sentence. A keyword list is worse than nothing, because it tells Google the page is trying to game the result and tells a screen reader user nothing at all.

Alt text also strengthens the page for regular results. It is one more place where the page says what it is about, in words a searcher would use. That is why on-page SEO and image SEO guides alike treat alt text as a ranking input, not just an accessibility chore.

Alt Text Examples: Good, Bad, and Missing

Here is the same idea written three ways, using a furniture store I audited for image SEO last year. The store sells a solid oak dining table. The product photo shows the table with six chairs in a bright dining room.

Image Alt text used Verdict
Oak dining table photo (empty) Missing. Google and screen readers get nothing.
Oak dining table photo dining table, oak table, wood table, table for sale, buy table Bad. A keyword list, not a description.
Oak dining table photo Solid oak dining table with six chairs in a bright dining room Good. One sentence, specific, under 125 characters.

The good version took ten seconds to write. It names the material, the object, the chairs, and the setting. A searcher typing “solid oak dining table” finds a page whose image says exactly that. A screen reader user hears a sentence that makes sense.

4. What to Name Image Files for SEO

Rename every important file before you upload it. File naming is the simplest image SEO fix there is. Use lowercase letters and hyphens, with a few descriptive words. Write the name the way a searcher would type the query. The furniture store photo became oak-dining-table-solid-wood.jpg. The old name was IMG_2047.jpg, which says nothing to anyone.

Good file names help in two places. Google reads them as a relevance signal, and your own team can find the file again in six months. A folder full of DSC_0041.jpg files is unsearchable for humans and for engines.

Do not bulk-rename the files you already published. Patience is part of image SEO: a renamed image can take weeks to come back. Renaming changes the URL, and the old URL is gone. Image indexing is slower than page indexing, so the picture starts again from nothing and takes weeks to come back. Name new files properly. Rename an old file only where the current name is genuinely meaningless and the page matters enough to wait for reindexing.

5. Pick the Right Format and Compress Every File

Format is the cheapest win in image SEO. Modern formats compress the same photo dramatically smaller with no visible quality loss. Google gives no direct ranking boost for WebP or AVIF. John Mueller from Google has said so. The benefit is speed, and speed is a ranking signal.

Format Best for Notes
JPEG Photos Universal support, the safe default.
PNG Graphics needing transparency Large files for photos, use only where transparency matters.
WebP Photos and graphics 30% or more smaller than JPEG at the same visible quality.
AVIF High quality photos Compresses hardest, worth serving where supported.
SVG Logos and icons Scales cleanly at any size, tiny file.

In image SEO, serve AVIF or WebP with a JPEG fallback through the picture element, keep PNG only for graphics that need transparency, and use SVG for logos and icons. Replace animated GIFs with MP4 video, which is often 90% smaller. WebP and AVIF cut file size 30 to 50% versus JPEG at the same visible quality, according to Google’s own developer guidance.

Then set a size budget and hold it. Budgets are the boring half of image SEO, and they do the most work. Heroes and featured images stay under 200 KB. Inline content images stay under 100 KB. Thumbnails stay under 30 KB. Export at up to twice the largest size the image displays, and stop there. A 4,000-pixel camera file in an 800-pixel slot is the most common weight problem on small business sites. Compress at quality 75 to 85. Below the mid 70s most photos start showing artifacts, and above 85 you pay in bytes for quality nobody perceives.

How to Reduce the Size of an Image in WordPress

In WordPress, image SEO starts before upload: reduce the size of an image first. Squoosh runs free in the browser and shows the result before you save. Export the file at the display size, pick WebP, and check the quality slider until the photo still looks clean. Then upload.

WordPress also builds smaller sizes for you. Since version 4.4 it generates responsive variants of every upload, so the theme can serve a phone a smaller file. Check that your theme uses those sizes. Open DevTools, switch to a phone-sized viewport, and watch the Network tab. If the phone still downloads the full desktop file, the theme is the problem, not the upload.

Image SEO plugins can compress the files already in your media library. They help, but they cannot fix a 4 MB original as well as a clean export can. The export step matters more than the plugin. For the full WordPress workflow, my WordPress SEO guide covers plugins, themes, and speed in one place.

Professional product photography setup with cameras and lenses on a table under studio lights for image seo

6. Responsive Images and Lazy Loading, Done Right

One file for every screen means every phone downloads your desktop image. Image SEO fixes that in the export step. The srcset attribute fixes this. You export a few widths, and each device pulls only the size it needs. A phone gets the 480-pixel version at 45 KB. A desktop gets the 1,600-pixel version. The browser reads srcset plus the sizes hint and picks the smallest file that still looks sharp.

Lazy loading defers offscreen images until the visitor scrolls near them. That cuts initial page weight enormously on image-heavy pages. The native version is one attribute, loading=”lazy”. That one attribute is the easiest image SEO speed win on the page. Use it on every image below the fold.

The trap is the hero. According to the HTTP Archive Web Almanac 2025, 16% of mobile sites lazy-load their largest image, the exact image Google times the page on. Lazy-loaded heroes paint about twice as slow as preloaded ones. The fix is a two-line policy. The hero image gets loading=”eager” plus fetchpriority=”high”. Everything below the fold gets loading=”lazy”. If PageSpeed Insights warns that your largest image was lazily loaded, this is why.

Put width and height attributes on every img tag. The browser reserves the box before the file arrives, which stops the page jumping as it loads. That jump is layout shift, and visitors feel it even when they cannot name it.

The deadline behind all of this is Largest Contentful Paint. Google’s loading grade measures when the biggest element in the viewport finishes rendering, and the passing grade is 2.5 seconds or less. On 73% of mobile pages that element is an image, according to the HTTP Archive Web Almanac 2025. My Core Web Vitals guide covers the full LCP checklist, but the image SEO half of it is everything in this section.

7. Image Sitemaps, Structured Data, and Local Photos

Two upgrades take your images from crawlable to promoted. An image sitemap hands Google a complete inventory of your pictures, including ones loaded in ways crawlers otherwise miss, such as a JavaScript gallery or a catalogue of thousands. Most sites do not need one for image SEO. If your pictures sit in img tags inside linked pages, Google finds them already. Add a sitemap to solve a discovery problem you have evidence of, not as routine.

Structured data earns images a place in richer results, and it is one of the most overlooked image SEO upgrades I see on small sites. Adding your image URLs inside Product, Recipe, or Article schema makes them eligible for listings with pictures, prices, and stars. Your SEO plugin handles the markup. Your job is making sure every important page has a high-quality image assigned wherever the schema pulls from. For a product listing, the image property is required for the result to be eligible at all. My structured data SEO guide walks through the schema types that carry images.

There is one piece of image-specific markup worth knowing. An ImageObject carrying a contentUrl plus a license URL makes the picture eligible for the Licensable badge in Google Images, which links to your terms. It matters if you are a photographer or a stock library. For anyone else it is noise.

Local businesses get one more image SEO surface. Your Google Business Profile photos show in the local pack and in Maps, and they are often the first thing a nearby searcher sees. Upload real photos of the shop, the team, and finished work, and keep them fresh. A profile with recent photos looks open and active. A profile with three stock shots from 2021 does not. My Google Business Profile optimization guide covers photos alongside reviews, categories, and posts.

Visual search is the last surface. People now search with a photo through Google Lens, and the same optimization helps there: a clear subject, a descriptive file name, and alt text that says what the picture shows. Nothing extra is needed beyond the steps above.

Your image SEO checklist

  • Read the Image search type in Search Console and note the clicks.
  • Run one page through URL Inspection and confirm every important picture sits in a real src.
  • Check robots.txt for Googlebot-Image, on your site and on the CDN.
  • Rename new files descriptively before upload, and leave old URLs alone.
  • Write one specific alt sentence per meaningful image, under 125 characters.
  • Serve WebP or AVIF, export near display size, and hold the size budget.
  • Hero eager with high fetch priority, everything below the fold lazy, then re-test LCP.

Frequently Asked Questions about Image SEO

What is image SEO?

Image SEO is the practice of optimizing the images on your website so they rank in image search results and load fast enough to help the page rank. It covers file names, alt text, formats, compression, responsive delivery, and the code that tells Google an image exists. The work pays twice: traffic from Google Images and faster pages.

How do I optimize images for SEO?

Work through seven steps in order. Check your image traffic in Search Console. Confirm Google can fetch your pictures. Write one specific alt sentence per image. Name files descriptively before upload. Compress every file and serve a modern format. Deliver responsive sizes with lazy loading below the fold. Add schema or an image sitemap where the page needs it. Those seven steps are the whole of image SEO for most small sites.

How do I get my pictures on Google?

Put each picture in a real img tag with a src attribute, give it a descriptive file name and alt text, and place it next to relevant text on the page. Make sure robots.txt allows Googlebot-Image to fetch your files. Then give it time. Image indexing is slower than page indexing, so a new picture can take weeks to appear in Google Images.

How do I add images to Google search results?

Images appear in Google search results when the page ranks and the image is crawlable. The picture must sit in an img tag, carry descriptive file name and alt text, and sit near text about the same subject. If your images load through JavaScript or a gallery, add them to your sitemap or an image sitemap so Google can discover them.

What should I name image files for SEO?

Use lowercase letters and hyphens with a few descriptive words, written the way a searcher would type the query. A dining table photo becomes oak-dining-table-solid-wood.jpg, not IMG_2047.jpg. Rename files before upload. Do not bulk-rename files that are already live, because the old URL disappears and the picture starts again from zero.

How do I add alt tags to images in WordPress?

Open the Media Library, click the image, and fill in the Alternative Text field on the right. You can also set it in the block editor by selecting the image and finding the alt text field in the sidebar. Write one specific sentence that describes the photo. Plugins can fill alt text in bulk, but check each one reads like a sentence before you save it.

The Bottom Line

Image SEO is a morning of work on most small sites. Measure first, fix visibility, then write alt text and compress. The traffic from Google Images is a bonus on top of the speed every visitor feels. If you want me to run this audit on your site, see my SEO services and tell me which pages carry your most important photos.

Need SEO help with your website?

I help businesses grow organic traffic, leads and revenue.

Work With Me More Blogs
Keep reading

More from the blog

Chat on WhatsApp