SEO

Image SEO: file size, names, alt text and formats

Compression, modern formats, dimensions, file names, alt text and lazy loading — optimizing images for speed and Google Images.

By the Ambition Marketing team · November 17, 2026 · 3 min read

Images are often the top cause of slow websites, and an overlooked traffic source through Google Images. Optimizing them improves speed, accessibility and visibility.

1. File size

A camera photo can weigh several megabytes. Compress it: most website images should weigh tens to a few hundred kilobytes.

2. Formats

WebP or AVIF for photos (lighter than JPEG at similar quality); SVG for logos and icons.

3. Dimensions

Don't load a 4,000-pixel image to display it at 400. Serve several sizes and let the browser choose.

4. File names

guesthouse-pool-old-town.webp rather than IMG_4587.jpg.

5. Alt text

It describes the image for visually impaired users and for Google: "Double room overlooking the courtyard". No keyword stuffing. Decorative images can have empty alt text. See web accessibility.

6. Lazy loading

Images below the fold load on scroll — but not the main hero image, which must appear immediately. See Core Web Vitals.

7. Context

An image placed near text about it, with a caption when useful, is better understood.

8. Original photos

Real photos of your products, premises and team beat stock images, for Google and for trust. See product photography.

FAQ

Which tool should I use to compress?

Online tools or CMS plugins that convert to WebP automatically.

Is alt text mandatory?

For meaningful images, yes: it's about accessibility and SEO.

Does Google Images bring customers?

In some industries (decor, fashion, travel, products), significantly.

Planning a web or marketing project?

Let's talk for 20 minutes, free: we'll give you a clear plan for your website, SEO or campaigns.

Quick replyChat on WhatsApp