3 October 2026 · Updated 23 November 2026
Table of Contents
- What is image optimisation SEO?
- Key Takeaways
- Why large images slow your pages
- Image optimisation SEO starts with the right file type
- How to compress images without losing quality
- Alt text: what it is and why Google needs it
- Lazy loading: keeping the first screen fast
- Image sitemaps and file names
- Serving the right image size to each screen
- Forty photos, take two
- Frequently Asked Questions
A shop owner in Durban uploaded forty product photos to her website on a Monday morning. Each one came straight from her camera. They were sharp and detailed, and each was about four megabytes. By Tuesday, her page speed score had dropped to the bottom of the scale. Shoppers on phones waited seven seconds for the first product photo to appear. Most left before it did. The photos were beautiful, but hardly anyone saw them.
What is image optimisation SEO?
Image optimisation SEO means preparing your website's images so they load fast and tell search engines what they show. It covers file size, file type, the words that describe each image and how images load on the page. Done well, it makes pages faster and helps your images show up in Google Images.
Key Takeaways
- Large, uncompressed images are one of the most common causes of slow pages.
- Choosing the right file type, such as WebP for photos and SVG for logos, cuts file size without a visible drop in quality.
- Alt text is a short description of each image. It helps Google understand the image and helps people who can't see it.
- Lazy loading waits to load images further down the page until the visitor scrolls near them.
- An image sitemap can help Google find images it might otherwise miss.
- Compressing photos before you upload them often shrinks them a lot with no change you can see.
Why large images slow your pages

Every image on a page has to download before it can appear. A four-megabyte photo takes far longer to download than a smaller version of the same photo shown at the same size. Multiply that across ten or twenty product photos, and the page gets slow on a normal phone connection.
Google measures how long the biggest thing on the screen takes to load. This is called Largest Contentful Paint, or LCP. It's one of the Core Web Vitals, three measures of how a page feels to use.
On most product and service pages, the biggest thing on the screen is a photo. Google's Core Web Vitals guide says LCP should happen within 2.5 seconds for a good experience. A huge photo makes that hard to reach.
Google's ranking systems use Core Web Vitals as one of many signals. Speed alone won't lift a weak page, but a slow page loses visitors.
The good news is that this problem is easy to fix. In most cases, there's no reason to put a raw camera file on a website. A well-compressed photo looks the same to visitors and loads far faster.
Image optimisation SEO starts here. Before you think about anything else, check how big your images are. Open your largest page and look at the file size of its main photo. If it's measured in megabytes, that's your first fix.
Image optimisation SEO starts with the right file type
The file type is your first choice, and it affects the result more than most people expect. Pick the wrong one and you're compressing something that's already too heavy.
Common image file types and their best uses
| File type | Best for | File size | See-through areas |
|---|---|---|---|
| WebP | Photos and product images | Small | Yes |
| AVIF | Photos | Often the smallest | Yes |
| JPEG | Photos, on older systems | Medium | No |
| PNG | Screenshots and images with text | Large | Yes |
| SVG | Logos, icons and simple drawings | Tiny | Yes |
Google's image SEO guide lists the formats it can index. They are BMP, GIF, JPEG, PNG, WebP, SVG and AVIF. So any of these can show up in search.
The real difference is speed. Google's WebP guide says WebP photos are 25 to 34 percent smaller than JPEG photos of the same quality. Across a site with hundreds of images, that adds up.
SVG files work differently. They don't store dots of colour. Instead, they store instructions for drawing a shape. That means the file stays tiny however large you show it, and it never goes blurry. If your logo is a PNG, switching it to SVG is one of the easiest speed wins there is.
So here's a simple image optimisation SEO rule. Use WebP for photos, SVG for logos and icons, and PNG only when you need sharp text in an image. Most website platforms can convert photos to WebP for you when you upload them.
How to compress images without losing quality
Compression removes data from an image file in ways the eye can't easily see. There are two kinds:
- Lossless compression removes only extra data. The image stays exactly the same.
- Lossy compression goes further. It drops fine detail that most people won't notice, which makes files much smaller.
For most website photos, lossy compression is the right choice. A quality setting somewhere around 75 to 85 percent usually looks the same on screen as the original. The file can end up a fraction of its first size.
Free tools make this easy. Squoosh, a free tool from Google's Chrome team, lets you compress a photo in your browser and compare it side by side with the original. Many website platforms and plugins can also compress images automatically when you upload them.
The best habit is to compress before you upload. Resize the photo to the largest size it will appear on your site, then compress it. That way, only the small file ever reaches your website.
Test your settings with your own photos. Start at around 80 percent quality and look at the result at the size it will appear on your site. If it still looks sharp, try a little lower. Stop when you can see a difference.
Photos with fine text need a higher quality setting, or a PNG.
Make compression part of your image optimisation SEO routine, and every new photo you add will load faster.
Alt text: what it is and why Google needs it

Alt text is a short description you attach to each image in your website's code. You won't see it on the page when you browse normally. It shows up when an image fails to load, and it's read aloud by screen readers for people who can't see the image.
Google uses it too. Its image SEO guide says alt text is the most important piece of extra information you can give about an image. Google uses alt text, along with computer vision and the rest of the page, to understand what an image shows.
Here's the difference good alt text makes. A photo of a grey linen sofa with the alt text "sofa" tells Google little. The same photo with "grey linen three-seater sofa with wooden legs" tells Google the product, the colour, the fabric, the size and the style. That detail helps your image show up when someone searches for exactly that item.
Good alt text follows a few simple rules:
- Describe what the image shows, the way you'd describe it to someone who can't see it.
- Be specific, but keep it short.
- Skip "image of" or "photo of" at the start. Screen readers already announce it's an image.
- Don't stuff in keywords that have nothing to do with the picture.
Writing good alt text is both an image optimisation SEO step and a basic courtesy to people who use screen readers. It takes seconds per image, and it helps everyone.
Lazy loading: keeping the first screen fast
Lazy loading tells the browser not to download images until the visitor is about to see them. Without it, the browser downloads every image on the page at once. That includes images at the bottom that the visitor may never reach.
With lazy loading, only the images on the first screen load straight away. Images further down wait until the visitor scrolls near them.
Picture a page with thirty product photos. On a phone, maybe four show when the page opens. With lazy loading, those four load at once. The other twenty-six wait. The page feels fast, because the first screen appears quickly. The rest load as the visitor scrolls.
You can turn this on by adding loading="lazy" to your image code. Most modern website platforms offer it as a setting, so you don't need to touch any code.
Does it stop Google from seeing your images? Not when it's done properly. Google's guide to lazy loading explains how to set it up so Google can still find all your content.
There's one important exception. Don't lazy-load the main image at the top of the page, the one people see as soon as it opens. That image should load as fast as possible. Lazy loading it would slow down your LCP, the score you're trying to improve.
Image sitemaps and file names
An image sitemap is a file that lists your images and tells Google where to find them. A normal sitemap works like a contents page for your website. It tells Google which pages exist, so it doesn't have to find them only by following links. An image sitemap does the same for your photos.
Google's guide to image sitemaps says they can help Google discover images it might not find otherwise. That's most useful if you have many images, or if some load in ways Google can't easily follow. You can submit your sitemap through Google Search Console.
File names count too, though only a little. When you upload a photo called IMG_4872.jpg, the name tells Google nothing. Renaming it grey-linen-three-seater-sofa.jpg before you upload it gives Google one more small clue. Google's image guide says file names give only light clues, so don't expect much from them alone.
What helps Google most is everything working together:
- A clear file name
- Specific alt text
- Words on the page that match what the image shows
- A caption, where it fits
Google says it pulls information about an image from the page around it, including captions and titles. So put each image near the words it relates to. A photo of a sofa should sit beside the description of that sofa, not three sections away. That's image optimisation SEO done properly.
Serving the right image size to each screen

One of the most common and wasteful image mistakes is sending the same large image to every device.
A desktop screen might show an image 1,200 pixels wide. A phone might show the same image about 400 pixels wide. If your site sends the 1,200-pixel file to the phone, the phone downloads a file far bigger than it needs. The visitor waits longer for nothing.
The fix is to offer several sizes of each image. In website code, this is done with a srcset list. You prepare a few sizes of the same photo, such as 400, 800 and 1,200 pixels wide. The browser then picks the right one for each screen.
You rarely need to do this by hand. Most website platforms create these sizes for you when you upload a photo. Check that the feature is switched on in your settings.
Google's free PageSpeed Insights tool can show you where images are bigger than they need to be. Run your main pages through it. If it flags image sizes, that's an easy win.
Heavy themes and plugins can undo good image work, though. If your site is still slow after you've fixed your images, our guide to WordPress bloat explains what else might be loading.
Right-sized images are one of the quickest image optimisation SEO wins. The benefit works at both ends. Visitors on slow phone connections get smaller files and faster pages. Visitors on large screens still get sharp, full-size photos.
For the bigger picture on speed, see our guide to website speed.
Forty photos, take two
Go back to the shop owner in Durban. This time, she renames each photo to describe the product before she uploads it. She resizes them, saves them as WebP and writes a short line of alt text for each one. Forty photos that once came to 160 megabytes now come to about twelve. Her first product photo appears in under two seconds on a phone. By Friday, shoppers are scrolling through the whole range, and her first online order of the week comes in.
You shouldn't have to guess which images are slowing your site down. With Zahavah Studio you won't.
Contact Zahavah Studio for a technical review that includes image optimisation SEO and everything else that affects your page speed.
These are the questions business owners ask most once they realise images are part of their SEO.
Frequently Asked Questions
What is the best image file type for image optimisation SEO?
For most photos, WebP is a strong default. Google's WebP guide says WebP photos are 25 to 34 percent smaller than JPEG photos of the same quality. WebP also supports see-through areas, like PNG. All major browsers support it.
AVIF is newer and can make files even smaller. Google can index it, and most modern browsers now support it. If your platform offers it, it's worth testing.
For logos and icons, SVG is usually best. It stays sharp at any size and keeps files tiny.
PNG still suits screenshots and images with sharp text.
JPEG is fine for older systems. But if your platform supports WebP, there's little reason to keep uploading JPEGs.
Google can index all of these common types. So the choice doesn't affect whether your images can be found. It affects how fast they load. And faster loading helps your Core Web Vitals, which Google's ranking systems use as one of many signals.
So pick the right type first, then compress.
How do you write alt text without keyword stuffing?
Write alt text the way you'd describe the image to someone who can't see it.
Say the image shows a dentist looking at X-rays with a patient. Good alt text might be: "dentist reviewing X-rays with a patient". It's specific, accurate and naturally includes useful words.
Keyword stuffing is when alt text reads like a list of search terms. For example: "dentist teeth whitening dental implants Cape Town best dentist". That doesn't describe the image. Google's image guide warns against filling alt text with keywords, because it makes for a poor experience and can look like spam.
Here's a simple test. Read your alt text aloud. Could someone picture the image from your words alone? If yes, it's good alt text.
Keep it short and focused. Skip "image of" at the start, because screen readers already say it's an image.
Make the alt text fit the words around the image too.
If an image is purely decorative, like a background pattern, it doesn't need a description at all.
How much can compression shrink an image without visible loss?
Often by a lot. The exact amount depends on the photo and the settings you use.
A photo straight from a camera is usually far bigger than a website needs. Resizing it to the largest size it will appear on your site makes a big difference on its own. Then lossy compression, at a quality setting of around 75 to 85 percent, usually shrinks it further with no change most people can see.
Photos of food or landscapes compress well. Banners and charts with text can show blotches at low settings.
So test with your own images. Start at about 80 percent quality. Look at the result at the size it will appear on your site, not zoomed in. If it still looks sharp, try a little lower. Stop when you notice a difference, then step back up.
Free tools like Squoosh let you compare the original and the compressed version side by side. Once you've found settings that work, use them for every photo you upload.
Does lazy loading stop Google from indexing your images?
Not when it's set up properly. Google's guide to lazy loading explains how to load content later without hiding it from Google.
Standard lazy loading uses the loading="lazy" setting on your images. That's the simplest and safest way to do it.
The risk comes from images that only appear after a visitor does something. Think of images that load only after a click, a swipe or a tap on a button. Google's lazy loading guide warns that content which needs user actions to load may not be found. So a gallery or slider that loads images only after a click could hide them from Google.
If your site uses one of these, check it. Use the URL Inspection tool in Google Search Console to see how Google views the page. If the images appear in the test, Google can see them.
And don't lazy-load the main image at the top of the page.
For normal pages with standard lazy loading, you have little to worry about.

Yvonne van Wyk
SEO Strategist · Zahavah Studio
Yvonne van Wyk runs Zahavah Studio, a Johannesburg SEO agency focused on long-term search visibility and AI citation. Her writing covers local SEO, content strategy, analytics, and the mechanics of how search works.
Everything on this blog is written to inform and educate. It is for information only. Nothing here is professional legal, financial, or technical advice. If you are making a significant business decision, speak to a qualified professional first. Zahavah Studio works hard to keep this content accurate and current, but is not liable for decisions made based on what you read here.

