KB Studio Free quote

Image Optimisation for Faster Websites

Platforms & builds · 8 min read · Updated

Images are usually the heaviest part of a small business web page, so optimising them is the quickest way to make a site faster. Resize each image to the largest size it will actually display, compress it, use a modern format such as WebP or AVIF, set width and height so the layout does not jump, and lazy-load pictures below the first screen. Add descriptive alt text while you are at it. Done properly, pages look just as sharp but load far faster on mobile connections.

In short
  • Oversized photos straight from a phone or camera are the most common cause of slow pages.
  • Resize first, then compress; compression alone cannot fix a huge image.
  • WebP and AVIF give much smaller files than JPEG at similar quality.
  • Set image dimensions and lazy-load anything below the first screen.
  • Alt text helps accessibility and image search, so describe what the photo shows.
  • Treat the main hero image with care, because it affects how fast the page feels.

Why images slow sites down

A modern phone takes photos several thousand pixels wide, often weighing several megabytes each. Upload that straight into a website and every visitor downloads the full file, even if it displays in a box a few hundred pixels across. Multiply by a gallery of twenty project photos and the page becomes painfully slow on mobile data.

Speed matters for two reasons. Visitors leave pages that take too long, particularly on phones, and search engines use loading experience as one of many signals. Google's Core Web Vitals, in particular the Largest Contentful Paint measure, often hinge on how fast the main image appears.

The good news is that images are also the easiest thing to fix. Unlike rewriting code, optimising pictures needs no special skills, just a consistent routine every time you add one to the site.

Resize to the size it actually displays

Start by checking how large the image appears on the page. A full-width banner on a desktop screen might need to be around 1,600 to 2,000 pixels wide. A thumbnail in a grid might only need 400 to 600. There is no benefit to uploading a 4,000-pixel photo for a 500-pixel slot.

Account for high-resolution screens by allowing roughly double the displayed size for key images, but no more. A good site serves different sizes to different devices using responsive images, so a phone downloads a smaller version than a large desktop monitor.

Free tools make resizing quick: the built-in Photos app on Windows or Preview on a Mac can both resize, and web tools like Squoosh let you see the result before saving. Crop out wasted space at the same time so the subject fills the frame.

  • Banner or hero images: around 1,600 to 2,000 px wide
  • Content images in the text column: around 800 to 1,200 px
  • Gallery thumbnails: around 400 to 600 px
  • Logos: SVG where possible, otherwise a small PNG

Choose the right file format

JPEG has been the default for photos for decades and still works everywhere. PNG suits graphics with sharp edges or transparency, such as logos and icons, but makes photos needlessly large. Using PNG for photographs is one of the most common reasons small business sites are heavy.

WebP and AVIF are newer formats designed for the web. Both produce much smaller files than JPEG at similar visible quality, and all mainstream modern browsers support them. AVIF often compresses further, while WebP encodes faster and is very widely supported.

For logos and simple icons, SVG is often the best choice. It is a vector format, so it stays crisp at any size and the files are usually tiny. Avoid uploading logos as large JPEGs, which blur at the edges and cannot have a transparent background.

Compress without visible loss

Compression reduces file size by discarding detail the eye barely notices. For most website photos, a quality setting somewhere in the middle of the scale gives files many times smaller than the original with no visible difference at normal viewing size. Push too far and you will see blotches and smudged edges, especially in skies and skin tones.

Compare before and after at the size the image will actually appear. Zooming to 400 percent will always reveal artefacts, but visitors will never look that closely. The goal is a picture that looks good on a phone screen, not one that survives forensic inspection.

Strip metadata as well. Camera files carry information such as camera model and sometimes GPS location. Removing it saves a little weight and avoids publishing where a photo was taken, which matters if images were shot at your home or a client's property.

  • Resize to the display size before compressing
  • Export to WebP or AVIF where your site supports it
  • Use a mid-range quality setting and compare visually
  • Strip location and camera metadata
  • Name files descriptively, such as kitchen-fitting-oak-worktop.webp

Lazy loading and layout stability

Lazy loading tells the browser to delay downloading images until the visitor scrolls near them. Pictures further down the page, like a gallery or team photos, do not compete with the content people see first. Modern browsers support this with a simple attribute, so there is no need for heavy scripts.

Do not lazy-load the main image at the top of the page. That picture should load immediately, and it can even be given priority so the browser fetches it early. Lazy-loading the hero image is a common mistake that makes a page feel slower, not faster.

Always set the width and height of images in the page code. This lets the browser reserve the right space before the picture arrives, so text does not jump down as images load. That jumping, measured as layout shift, is irritating for visitors and counts against you in Core Web Vitals.

Alt text and file names

Alt text is a short description read aloud by screen readers and shown if the image fails to load. It is an accessibility requirement, not just an SEO trick. Describe what the image shows in a natural sentence: "Newly fitted oak kitchen with white units in a terraced house" is useful; "kitchen kitchen fitter best kitchens" is not.

Decorative images, such as background textures or divider graphics, should have empty alt text so screen readers skip them. Only describe images that add information or meaning for the visitor.

Descriptive file names help a little with image search and make your own media library easier to manage. Rename IMG_4821.jpg to something like bathroom-tiling-cardiff.webp before uploading. It is a small habit that pays off when you have hundreds of photos.

Checking your results

Free tools show how your images are performing. Google's PageSpeed Insights tests a page and lists oversized or poorly formatted images, along with Core Web Vitals scores. Your browser's developer tools show the size of each file as the page loads.

Test on a real phone too, ideally on mobile data rather than office wifi. If the page takes a noticeable moment before the main image appears, that image is the first one to look at.

Do not chase a perfect score at the expense of the design. A site that loads quickly and looks professional beats one stripped of all imagery to hit a number. Real photos of your work build trust; the aim is to deliver them efficiently, not remove them.

  • Run PageSpeed Insights on your key pages
  • Look for "properly size images" and "serve next-gen formats" warnings
  • Check the largest files in browser developer tools
  • Test the page on a phone using mobile data

Making it automatic

The best long-term solution is a site that handles optimisation for you, generating several sizes and modern formats automatically when an image is uploaded. That removes the risk of someone adding a ten-megabyte photo on a busy afternoon and quietly slowing the whole site.

KB Studio sites are hand-built with optimised images, set dimensions and lazy loading, and hosted on Cloudflare's network so files are delivered fast. If your current site is sluggish, the website speed boost at £249 is a one-off job that tackles heavy images, scripts and other common causes.

For ongoing peace of mind, the Care Plan at £49/mo includes an hour of changes each month, so new photos can be sent over WhatsApp and added properly sized rather than uploaded raw. You can ask for a free quote if you are unsure what is slowing your site down.

Common questions

What is the best image format for websites?

For photos, WebP or AVIF usually give the smallest files at good quality, with JPEG as a reliable fallback. For logos and icons, SVG is ideal because it stays sharp at any size. Avoid PNG for photographs, as the files are much larger than needed.

How big should website images be?

Big enough for the space they fill, with some allowance for high-resolution screens. Full-width banners around 1,600 to 2,000 pixels wide, content images 800 to 1,200, thumbnails 400 to 600. File size matters more than pixels: aim for the smallest file that still looks sharp.

Does image optimisation help SEO?

Indirectly, yes. Faster pages give a better experience and can improve Core Web Vitals, which Google uses as one of many signals. Descriptive alt text and file names also help images appear in image search and make the page more accessible.

Should I lazy-load all images?

No. Lazy-load images below the first screen, such as galleries and team photos. The main image at the top should load immediately, otherwise the page feels slower and your Largest Contentful Paint score can suffer.

Can I optimise images without software?

Yes. Free web tools like Squoosh resize and compress images in the browser, and built-in apps on Windows and Mac can resize. Many website platforms also compress uploads automatically, though resizing before upload still helps.

Want this done for you?

Websites from £995, live in 7 days, and you own everything. Free quote within 24 hours.