Skip to main content
Back to BlogWeb Design

Website Image Optimisation: A Practical Guide

31 July 20236 min read

On a typical small business website, images account for most of the page weight. Fixing them is the single highest-return performance task available, and it requires no development work.

Step 1: Resize Before You Upload

The most common mistake is uploading a 4000-pixel-wide phone photo into a space 800 pixels wide. The browser downloads all of it and then shrinks it on screen, so the visitor pays the full cost for no benefit.

  • Full-width banner images: around 1920 pixels wide
  • Content and blog images: 800 to 1200 pixels wide
  • Product and gallery thumbnails: 400 to 600 pixels wide
  • Logos: twice their display size, no more

Step 2: Choose the Right Format

WebP

The sensible default now. It produces files roughly 25 to 35 percent smaller than JPEG at the same visible quality, and every current browser supports it.

JPEG

Still fine for photographs, and universally supported. Use it as a fallback or where your tools do not produce WebP.

PNG

Only for images needing transparency, like logos, or for flat graphics. PNG photographs are enormous — this is a frequent and expensive mistake.

SVG

For logos and icons made of shapes. Tiny, infinitely scalable, and sharp on every screen.

Step 3: Compress

Quality around 80 percent is visually indistinguishable from 100 percent for photographs and often halves the file size. Any free online compressor or an image plugin will do this. A good target for a content photograph is under 150 kilobytes; banners under 300.

Step 4: Always Set Width and Height

When dimensions are missing, the browser does not know how much space to reserve, so the page jumps around as images arrive. That shifting is both irritating and a measured negative in page experience scoring. Setting dimensions costs nothing and fixes it.

Step 5: Lazy Load Below the Fold

Images further down the page should load only as the visitor scrolls towards them. Do not lazy load the first visible image — delaying that one makes the page feel slower, not faster.

Step 6: Name Files and Write Alt Text

Rename files before uploading: bridal-makeup-coimbatore.jpg rather than IMG_8821.jpg. Then write alt text describing the image for screen reader users and for image search. Describe what is actually in the picture; do not stuff keywords, and leave alt text empty for purely decorative images.

Step 7: Check Your Worst Pages

  1. Run a speed test on your heaviest pages — usually the gallery or home page
  2. Look at the list of largest files loaded
  3. Any image over 300 kilobytes needs attention
  4. Re-export, compress and replace it
  5. Re-test and confirm the improvement

A Habit Worth Building

Resize and compress every image before it goes on the site, every time. Automated tools help, but a 20-image gallery uploaded carelessly can undo a year of optimisation in one afternoon.

Frequently Asked Questions

What is the best image format for websites?

WebP for photographs, SVG for logos and icons, PNG only where transparency is needed. WebP files are typically 25 to 35 percent smaller than JPEG at the same quality.

How large should website images be?

Under 150 kilobytes for content images and under 300 for full-width banners, resized to the maximum width they will actually be displayed at.

Does alt text help SEO?

Yes, modestly. It helps image search understand the picture and is essential for screen reader users. Describe the image honestly rather than stuffing keywords.

Ready to get a website that actually brings in customers?

Tell us about your business and get a free, no-obligation quote — transparent and fixed, with no hidden costs.