Images make websites easier to understand, more engaging and more useful. Product photographs help shoppers compare options, diagrams explain complex ideas, and original visuals can make an article easier to follow. But images can also create SEO and performance problems when uploaded without considering file size, dimensions, format or accessibility.
Image SEO is not simply adding keywords to file names and alt text. It involves helping search engines understand visual content while ensuring images load efficiently and support the page’s purpose.
A large image can delay the moment visitors see the main content. A vague description can make a visual less accessible, while an irrelevant stock photograph may add little value. The best approach balances discoverability, user experience and technical performance.
This guide explains how to optimise website images, choose suitable formats, write useful alt text, implement lazy loading and build a repeatable image SEO workflow.
1. Choose the Right Image Format
The image format affects file size, visual quality, transparency support and browser compatibility. There is no single format that is best for every image, so choose according to the visual and how it will be used.
WebP for efficient web delivery
WebP supports lossy and lossless compression, transparency and animation. It can often deliver smaller files than older formats while maintaining suitable visual quality. It is a practical choice for many website photographs and graphics.
AVIF for modern image compression
AVIF can achieve strong compression and image quality, making it useful where the website’s platform and delivery setup support it reliably. Test the result across the browsers and devices important to your audience.
JPEG and PNG where they still make sense
JPEG remains common for photographs, particularly on older systems. PNG is useful when lossless quality or transparent backgrounds are needed, although it can produce large files for photographic content.
Do not convert every image blindly. Compare the visual result and file size, and make sure your content management system or image delivery service provides an appropriate fallback where necessary.
2. Resize Images to Match Their Display Dimensions
Uploading a very large original photograph and displaying it in a small content area wastes bandwidth. A 4,000-pixel-wide image may be unnecessary when the layout only displays it at 800 pixels.
Prepare image dimensions that suit the actual layout. Consider separate sizes for hero banners, article images, product thumbnails and mobile layouts. Avoid enlarging small images beyond their original dimensions because this can reduce sharpness.
Responsive image implementation can help browsers select an appropriate file for the visitor’s screen. HTML attributes such as srcset and sizes allow different image candidates to be offered for different viewport conditions.
Check the rendered page rather than assuming that uploading multiple sizes means the browser is using them correctly.
3. Compress Images Without Making Them Look Poor
Image compression reduces file size and can improve loading performance. The goal is to remove unnecessary data while retaining enough detail for the image’s purpose.
- Keep an untouched original copy before processing.
- Resize the image to the dimensions required by the page.
- Export it in a suitable modern format where supported.
- Adjust compression settings and inspect the visual result.
- Compare the final file size with the original.
- Check the image on desktop and mobile screens.
Avoid applying the same compression setting to every image. A detailed product photograph, a simple icon and a text-heavy infographic have different quality requirements.
4. Write Descriptive, Useful Image File Names
Descriptive file names provide context about an image and make large media libraries easier for teams to maintain. Use short, readable names that describe what the image actually shows. Separate words with hyphens and avoid unnecessary strings of keywords.
For example, wooden-classroom-desks.jpg is more useful than IMG_8472.jpg when the image genuinely shows wooden classroom desks. Do not rename images with unrelated search phrases. The file name should describe the visual accurately.
5. Write Alt Text for Accessibility and Context
Alternative text describes the meaningful information conveyed by an image when it cannot be seen. Screen readers can announce this text to visitors who rely on assistive technology, and search engines can use it as additional context.
Good alt text is concise, specific and relevant to the image’s role on the page.
Product image: A stainless-steel water bottle with a black screw-top lid.
Informational diagram: Diagram showing the stages of a website image optimisation workflow.
Decorative image: Use empty alt text (alt=””) when the image is purely decorative and adds no information.
Avoid stuffing alt text with keyword variations. Do not begin every description with “image of” unless that wording is genuinely useful. If an image contains important text, provide the same essential information in accessible page content rather than relying only on the image.
6. Implement Lazy Loading Carefully
Lazy loading delays the loading of off-screen images until visitors are likely to need them. This can reduce the amount of data loaded at the beginning of a page, particularly on long articles and product listings.
However, the main hero image or another image visible immediately when the page opens should not normally be lazy-loaded. Delaying the largest visible image can make the page appear slower.
Use loading=”lazy” for suitable below-the-fold images. For the likely Largest Contentful Paint image, consider eager loading and appropriate fetch priority where testing shows it is beneficial. Avoid applying high priority to every image.
After implementation, test the page on mobile and desktop. Confirm that images appear as visitors scroll and that important above-the-fold visuals are not delayed.
7. Use Image Dimensions to Reduce Layout Shifts
When a browser does not know an image’s dimensions before it loads, the page layout may move as the image appears. This can create a frustrating experience, particularly when visitors are reading or trying to click a button.
Set width and height attributes or reserve the correct aspect ratio in CSS so the browser can allocate space in advance. This helps reduce unexpected layout movement.
Check image behaviour on real page templates, including product galleries, blog cards, banners and responsive sections. A fix on one template may not automatically apply to every image component.
8. Make Images Relevant to the Page
An image should help visitors understand the content, evaluate a product or complete a task. Adding decorative stock photographs simply to increase the number of images does not automatically improve SEO.
Use original product photographs, useful screenshots, diagrams, comparison visuals and genuine examples where they add information. Keep captions close to the relevant image when a short explanation would help visitors understand it.
For e-commerce pages, show products clearly from useful angles. For educational content, use diagrams that explain a process rather than repeating the same idea already covered in the paragraph.
9. Help Search Engines Discover Important Images
Search engines may discover images through the page’s HTML, CSS and image sitemaps. Make sure important images are accessible to crawlers and are not unintentionally blocked by robots rules or authentication.
For websites with many important images, an image sitemap may help provide additional discovery information. Keep image URLs accurate and ensure the pages containing them are accessible.
Structured data can provide context for specific content types, such as products and recipes, when the page meets the relevant requirements. Do not add structured data simply because a page contains an image.
If image delivery is part of a wider technical issue, a structured SEO audit can help identify problems across templates, crawlability and performance.
10. Measure Image Performance After Publishing
Image optimisation should be validated, not assumed. A smaller file is useful, but the important question is whether the page experience has improved without reducing image quality or functionality.
- PageSpeed Insights to review performance opportunities and Core Web Vitals.
- Lighthouse to inspect loading behaviour and potential image optimisation issues.
- Browser developer tools to review image requests, dimensions and file sizes.
- Google Search Console to monitor relevant search performance over time.
- Real device checks to confirm images display correctly on common screen sizes.
Test representative page templates rather than checking only the homepage. Product pages, category pages, blog posts and landing pages may load images in different ways.
Common Image SEO Mistakes to Avoid
| Mistake | Better approach |
| Uploading oversized originals | Resize images to match their actual display requirements. |
| Using vague file names | Choose accurate, descriptive names that make media easier to understand and manage. |
| Keyword-stuffing alt text | Describe the image naturally and include only relevant details. |
| Lazy-loading the main hero image | Prioritise the important image visible when the page first loads. |
| Forgetting image dimensions | Reserve space to reduce unexpected layout shifts. |
| Using irrelevant stock visuals | Choose images that add useful information or help visitors make decisions. |
| Assuming compression solves every speed issue | Review the complete page, including scripts, fonts, server response and other resources. |
A Practical Image SEO Checklist
- Choose a format suited to the image and browser support.
- Resize the file to match the intended display dimensions.
- Compress the image and inspect its visual quality.
- Use a clear, accurate file name.
- Write meaningful alt text for informative images.
- Use empty alt text for purely decorative images.
- Set image dimensions or an aspect ratio to reserve layout space.
- Lazy-load suitable below-the-fold images.
- Avoid delaying the main above-the-fold image.
- Check image accessibility and crawler access.
- Test page performance on mobile and desktop.
- Review important templates after deployment.
Final Thoughts
Image SEO works best when it is treated as part of the wider website experience. The right format, dimensions and compression can reduce unnecessary image weight, while descriptive alt text and relevant visuals make pages more useful and accessible.
There is no single setting that fixes every image. Review how each visual is used, how it loads and what information it provides. Then test the result on the templates that matter most to your visitors.
If your website contains heavy images, inconsistent media implementation or wider performance issues, speak to ASG Marketer about reviewing your website and prioritising practical improvements.
Frequently Asked Questions
What is image SEO?
Image SEO is the process of making website images easier for search engines to discover and understand while ensuring they load efficiently and remain accessible to visitors.
Which image format is best for SEO?
WebP and AVIF are efficient modern formats for many web images, but the best choice depends on the image, browser support, platform and quality requirements. JPEG and PNG can still be appropriate in some cases.
Does alt text help with SEO?
Alt text primarily supports accessibility by describing meaningful images to people using screen readers. It also provides search engines with useful context. It should describe the image accurately rather than repeat keywords.
Should every image use lazy loading?
No. Lazy loading is generally suitable for images below the initial viewport. Important images visible immediately, particularly the main hero image, should not normally be delayed.
How large should website images be?
There is no universal file-size limit. Aim for the smallest file that preserves suitable visual quality at the dimensions required by the page, and test the result on real devices.
Can image optimisation improve website speed?
It can reduce image-related data transfer and improve loading performance, especially on image-heavy pages. Overall speed also depends on hosting, scripts, fonts, CSS and other resources.




