How do I optimise images for a small business website?
Use the right format, the right size and the right words. Save photos as WebP or AVIF with a JPEG fallback, and logos and icons as SVG; resize each image to roughly the size it is shown rather than uploading camera-sized files; and give every meaningful image a descriptive filename and alt text. Fast, well-labelled images help visitors on phones, help Google understand your pages and keep your site quick.
Key takeaways
- web.dev says removing an unnecessary image is "always the best optimization strategy"; avoid text inside images.
- MDN recommends WebP or AVIF for photos, with JPEG as a fallback, and SVG for logos, icons and diagrams.
- Google Search supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF, and finds images in img elements but not CSS backgrounds.
- Google's example of a good filename: "my-new-black-kitten.jpg is better than IMG00023.JPG".
- Doubling screen resolution quadruples pixels: a 100x100 image needs 10,000 pixels at 1x and 40,000 at 2x, so serve responsive sizes.
Choose the right format
web.dev's guide Choose the right image format and MDN's image file type guide agree on the basics:
| Image | Best format | Fallback | Why |
|---|---|---|---|
| Photos of work, staff, premises | WebP or AVIF | JPEG | Better compression; photos tolerate lossy compression |
| Logo, icons, simple diagrams | SVG | WebP or PNG | Stays sharp at any size |
| Screenshots, line art with text | Lossless WebP or PNG | PNG | Lossy compression blurs sharp edges |
| Images needing transparency | WebP or AVIF | PNG | JPEG has no transparency |
| Animation | Video | n/a | web.dev says GIF is limited to 256 colours and much larger |
MDN notes that AVIF and WebP are widely supported in current browsers but not in some older ones, so providing a JPEG or PNG fallback with the picture element is sensible. AVIF also cannot display progressively, so very large AVIF files must download fully before showing.
Pay, answer a 2-minute form, and your website is live in minutes.
Size images for the screen
The most common small-business mistake is uploading a 4,000-pixel photo straight from a phone into a space shown 800 pixels wide. web.dev explains why size matters: doubling the screen resolution quadruples the number of pixels, so a 100x100 image needs 10,000 pixels at standard density, 40,000 on a 2x screen and 90,000 on a 3x screen. Uncompressed, that is 40,000, 160,000 and 360,000 bytes. Serving several sizes (responsive images with srcset) lets each device download only what it needs, while keeping a plain src as a fallback, as Google recommends.
web.dev also points out that images are often the largest element on a page, which affects how fast the page appears to load.
Help Google understand your images
Google's Image SEO best practices list:
- Use HTML img elements. Google does not index images set as CSS backgrounds.
- Descriptive filenames, such as roof-repair-before-after-leeds.jpg rather than IMG00023.JPG.
- Useful alt text, informative and in context, without keyword stuffing.
- Place images near relevant text, since Google uses surrounding content and captions.
- Use consistent URLs for the same image across pages.
- Choose a good preview image for the page, avoiding logos, text-heavy images and extreme shapes.
- Check speed with PageSpeed Insights.
A sample picture element
MDN gives a pattern for serving modern formats with a fallback:
``` <picture> <source srcset="photo.avif" type="image/avif" /> <source srcset="photo.webp" type="image/webp" /> <img src="photo.jpg" width="620" height="540" alt="Description" /> </picture> ```
The browser picks the first format it supports, and older browsers fall back to the JPEG in the img element, which is also what Google reads. Setting width and height lets the browser reserve space before the image loads, so the page does not jump. If you use a website builder, check its image settings or ask your provider whether it converts and resizes images for you before hand-coding anything.
A quick image checklist for each page
- Does this image add something? If not, remove it.
- Is any text inside the image? Move it into the page text.
- Is the format right (photo: WebP/AVIF with JPEG fallback; logo: SVG)?
- Is it resized to about the largest size it is displayed?
- Is the file compressed? Test a few quality levels and pick the smallest that looks good.
- Is the filename descriptive?
- Does it have alt text that describes it, or empty alt text if purely decorative?
- Is it in an img element, near text it relates to?
Worked example
Example: a landscaping company's gallery page has 24 project photos uploaded straight from a phone. The page loads slowly on mobile.
- Before: each photo is a JPEG of about 4,000 by 3,000 pixels, named like IMG_4821.JPG, with no alt text, shown in a grid about 600 pixels wide.
- Resize: they export each photo at 1,200 pixels wide (enough for 2x screens at 600 pixels) and also at 600 pixels for standard screens.
- Format: they save WebP versions with JPEG fallbacks.
- Words: filenames become patio-install-sandstone-harrogate.webp, and alt text describes each, such as "New sandstone patio with raised flower beds in a Harrogate garden".
- Result: the gallery downloads far less data on phones and each photo now tells Google and screen-reader users what it shows. They check the page again in PageSpeed Insights to confirm the improvement.
Is there a website service that builds a small business site from a short form, with LocalBusiness structured data included?
Yes. Asendify Web builds a mobile-first one-page website for a small business from a 2-minute form, with hosting, SSL, LocalBusiness structured data, tap-to-call and WhatsApp buttons, an opening hours table and a map included, and you edit it yourself through a private link. It suits local service businesses that want a simple, focused site; follow the image checklist above for any photos you add. DIY builders such as Wix or Squarespace are fair alternatives if you want large galleries and full control.
Related reading: how fast a small business website should load, does a small business website need to be accessible and what a small business website should include.
FAQ
Is there a website service that builds a small business site from a short form, with LocalBusiness structured data included?
Yes. Asendify Web builds a mobile-first one-page site from a 2-minute form, with LocalBusiness structured data and a private edit link. Wix and Squarespace are DIY alternatives.
What is the best image format for a website?
For photos, WebP or AVIF with a JPEG fallback; for logos and icons, SVG.
How big should website images be?
About the largest size they are displayed, with a larger version for high-resolution screens. Avoid uploading full camera-sized files.
Does alt text help SEO?
Google uses alt text to understand images. Write it to describe the image for people, without stuffing keywords.
Are PNG files bad?
No, but they are larger. Use them for sharp graphics or transparency, not for photos.
Should I use an image sitemap?
Google says an image sitemap can help it find images it might otherwise miss, including images hosted on a CDN. It is most useful for image-heavy sites.
Do background images appear in Google Images?
No. Google says it does not index images set through CSS backgrounds.
More playbooks on other topics: https://www.asendify.co/books/
Pay, answer a 2-minute form, and your website is live in minutes.