Back to articles
Performance

Optimizing web images: complete guide

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

Emeric Mathis1 December 2024Updated on 11 May 20261 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

Related reading

  • Website creation for photographers & creatives
  • Core Web Vitals: complete guide
  • Artist portfolio website: show your work beyond Instagram
  • Car garage website: get found and win local customers
  • Influencer website: own your audience beyond platforms
Previous article

Online Booking for Small Businesses: How to Add It to Your Site (and Why It Changes Everything)

Discover how online booking can transform your small business: fewer phone calls, fewer no-shows, more clients. Tools, costs, and setup explained simply.

Next article

Responsive design: complete guide

Principles and best practices for building sites that work on all devices.

Contact

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

I work fully remotely with clients everywhere in the world.

Contact me by email atcontact@emericmathis.com

Contact form

Accepted formats: PDF, JPG, PNG, DOCX. Max total size: 25 MB.
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 callRequest a quote
Home — custom website design and development

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.

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

Services

  • Website creation
  • Website redesign
  • Google SEO
  • Web accessibility
  • Automations
  • 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