Back to articles
Performance

Optimizing web images: complete guide

Formats, compression, lazy loading. Make your images fast and SEO-friendly.

Emeric Mathis1 December 20241 min read
Sommaire5 sections

Images are often the heaviest assets on a page – but they are also essential for storytelling, branding and conversion.

Optimising them is one of the fastest ways to improve performance, Core Web Vitals and SEO.

Choose the right formats

  • Use WebP or AVIF for most photos and illustrations
  • Use SVG for logos and simple icons
  • Only keep JPEG/PNG for specific cases where needed

Compress and resize

  • Avoid uploading 4000px‑wide images if they are displayed at 800px
  • Use compression tools or pipelines to reduce file size
  • In Next.js, the 'next/image' component helps automate this process

Lazy‑load non‑critical images

  • Load above‑the‑fold images immediately
  • Defer others until they enter the viewport

Don’t forget SEO and accessibility

  • Add descriptive 'alt' attributes
  • Use filenames and surrounding text that match the page topic

In my client projects, image optimisation is built into the workflow so you don’t have to think about it for every upload.
You can see the result in my portfolio and templates.

Further reading

  • Core Web Vitals: complete guide
  • Responsive design: complete guide
  • Understanding SEO: complete guide
  • Web animations: performance and UX
Previous article

Accessible and performant web forms

Build forms that are easy to use, accessible and optimized for conversion.

Next article

The importance of quality web hosting

Why choosing the right host affects performance, SEO and security.

Contact

Let's talk about your project.

Freelance web developer specializing in website creation, RGAA accessibility, SEO and performance.

Email

emericmathis@gmail.com

  • Location

    Cavaillon, France

    Remote — worldwide

  • Availability

    Reply within 48h

    Monday to Friday

I work fully remotely with clients everywhere in the world.

* Required fields

Available for a new project

Let's talk about your project

30-minute chat, no commitment. I'll tell you honestly if I can help.

Book a call
Request a quote
Logo Emeric Mathis

E

M

E

R

I

C

M

A

T

H

I

S

Freelance web developer specializing in web accessibility, performance and natural SEO — available remotely worldwide.

  • emericmathis@gmail.com
  • Cavaillon, France · Remote worldwide
  • Reply within 48h, Mon–Fri
  • Malt

Services

  • Showcase website
  • Online store
  • Website redesign
  • Get found on Google
  • Accessible website
  • Maintenance

Resources

  • Portfolio
  • My journey
  • Blog
  • Online resume
  • Book a call

Legal

  • Legal notice
  • Privacy policy
  • Cookie policy
  • Sitemap
Qonto

My business bank

100% online

© 2026 Emeric Mathis — Freelance web developer · Based in Provence · Remote across France & worldwide. All rights reserved.

Handcrafted in Provence, France