🌿 EasyLife
Projects Guides About Contact

How to prepare images for a fast website

Smaller files, faster pages · Published October 2026 · Reviewed October 2026

Images usually make up most of the weight of a web page. A single unoptimised photo straight from a phone can be larger than the entire rest of the site. Visitors on mobile data will leave if a page takes more than a few seconds to appear, and search engines also prefer fast pages.

Step 1: choose the right dimensions

Do not upload a 4000 pixel wide photo to display it in an 800 pixel wide column. The browser still downloads all 4000 pixels and then shrinks it. Look at the largest size the image will be shown, and resize to about twice that for sharp screens at most.

  • Full width hero banner: about 1600 to 2000 pixels wide.
  • Blog post image: about 1000 to 1200 pixels wide.
  • Thumbnail or card: about 400 to 600 pixels wide.
  • Logo or icon: often under 300 pixels.

Step 2: pick the right format

  • JPG for photographs.
  • PNG for logos, screenshots and graphics that need transparency.
  • WebP is a modern format that is smaller than both and supported by all current browsers, if your site allows uploading it.

More detail in our JPG vs PNG guide.

Step 3: compress sensibly

A good target for most photos is 100 to 200 KB, and for small thumbnails under 50 KB. Use the EasyLife File Converter to resize first, then compress to a size target. Quality around 70 to 80 percent is usually invisible to viewers.

Step 4: name files properly

Use short, descriptive, lowercase names with hyphens, for example red-ceramic-teapot.jpg, not IMG_20240615_0042.jpg. It helps organisation and gives search engines a clue about the picture.

Step 5: always add alt text

Alt text is a short written description of the image, such as "Hand painted red teapot on a wooden table". It makes your site usable for people with screen readers and is shown if the image fails to load.

Quick checklist

  1. Resize to the display size.
  2. Choose JPG, PNG or WebP correctly.
  3. Compress until it is as small as it can be without looking worse.
  4. Give it a clear file name.
  5. Write alt text.
Related reading: resizing to exact dimensions and compressing to an exact size.

Frequently asked questions

How big should my images really be?

Match them to the largest size they appear on the page. A column that is 800 pixels wide needs an image about 1600 pixels wide at most for sharp high density screens. Anything larger just slows the page without any visible benefit.

What is lazy loading and do I need it?

Lazy loading tells the browser to download an image only when it is about to scroll into view. Adding the attribute loading="lazy" to images below the first screen speeds up the initial load. Do not use it on the main image at the top of the page.

Does image size affect search rankings?

Speed is one of many signals, and slow pages also lose visitors before they read anything. Fast, well described images help both people and search engines.

Do I need different sizes for phones and desktops?

It helps on image heavy sites. The srcset attribute lets the browser pick a smaller file for small screens. If that sounds complicated, a single sensibly sized image still gets you most of the benefit.

What is a good alt text?

Describe what is in the picture in a short natural sentence, for example "Founder presenting a workshop to ten students". Skip phrases like "image of" and do not stuff keywords.

Keep reading

  • How to compress an image to an exact size
  • JPG vs PNG, which to use
  • How to resize an image to exact dimensions

Optimise an image now →

© 2026 EasyLife · easylife.solutions

Home Projects Guides About Contact Privacy Policy Terms