
How to Turn Your Website Into a High-Converting Sales Tool
The structure behind a website that sells: the five decisions that carry conversion, the homepage section order, and how to rebuild without losing traffic.
Performance
Most guides to optimizing website images say the same five things: pick the right format, compress, resize, lazy load, add alt text. They rarely tell you which step saves the most, or by how much. So we took one large image from our own work, exported it at five widths, in three formats and at seven quality levels, and wrote down every file size. The result changes the order you should work in. Sources read on 23 November 2026.
Work in this order. First, resize each picture to about twice the width it shows at. Second, export it as WebP at a quality around 80 and look at it. Third, serve smaller versions to small screens with srcset. Fourth, lazy load the pictures below the first screen, and give the first big picture high priority. Fifth, set width and height on every image. Sixth, write real alt text and plain filenames. Seventh, measure the page before and after.
About us: Amariq is a web design studio. The test below is our own, run on 23 November 2026 on one image, and it measures file size only. Browser behaviour comes from web.dev and Google Search Central pages read the same day. We say below what we did not test.
We searched Google (US, English) for "optimize website images" on 23 November 2026. The web results included Request Metrics' 2026 guide, TinyPNG, Google's image SEO page, Cloudflare's explainer on image optimizers, DebugBear's guide (dated 23 April 2026 in the result), Squoosh, a university guide, Webador's SEO tips and web.dev's image performance course. We read Google's page and the web.dev pages in full. For the rest we saw the result snippets only, so we do not describe them beyond what the snippets say: they list format choice, compression, resizing, dimensions and alt text.
That advice is sound. What the snippets do not show is how much each step is worth, so you cannot tell where to start. The test below fills that gap for one image. Your images will differ, which is why we also tell you how to repeat it.
We used a photographic image from one of our own portfolio builds. It is a 2400 by 2999 pixel master saved as a PNG that weighs 14,092 KB. We resized it with high quality resampling and saved it with Pillow, a common Python imaging library, as JPG (progressive, optimized), as WebP (the slowest, smallest setting) and as AVIF. We measured file size only. We did not run a visual comparison, so judge the look of your own images yourself.
| Width in pixels | JPG | WebP | WebP saving vs JPG |
|---|---|---|---|
| 2400 (original width) | 1,018 KB | 657 KB | 35% |
| 1600 | 577 KB | 430 KB | 25% |
| 1200 | 380 KB | 306 KB | 19% |
| 800 | 201 KB | 180 KB | 10% |
| 400 | 62 KB | 63 KB | none |
For scale, the 2400 pixel WebP is 4.7% of the PNG master, and the 800 pixel WebP is 1.3%. A page that shows this picture at 600 CSS pixels wide needs about 1200 pixels for sharp high density screens: 306 KB as WebP, against 657 KB if you uploaded the full width. That is the saving that comes from resizing, with no change in format.
| Quality setting | JPG | WebP |
|---|---|---|
| 95 | 1,106 KB | 899 KB |
| 90 | 808 KB | 675 KB |
| 85 | 663 KB | 520 KB |
| 80 | 577 KB | 430 KB |
| 70 | 472 KB | 340 KB |
| 60 | 404 KB | 304 KB |
| 50 | 357 KB | 271 KB |
WebP quality 95 to 80 cuts the file by 52%. From 80 to 60 cuts it by a further 29%. The numbers on different formats' sliders are not the same scale, so compare file sizes and your own eyes, not the setting. Our rule of thumb is to start near 80 and look at the picture at full size before going lower.
We also saved the same widths as AVIF, with the same Pillow library, at quality 80 and at quality 60.
| Width in pixels | WebP at 80 | AVIF at 80 | AVIF at 60 |
|---|---|---|---|
| 2400 | 657 KB | 840 KB | 493 KB |
| 1600 | 430 KB | 533 KB | 309 KB |
| 1200 | 306 KB | 380 KB | 217 KB |
| 800 | 180 KB | 221 KB | 123 KB |
| 400 | 63 KB | 74 KB | 41 KB |
At the same number, 80, AVIF came out larger than WebP. At 60 it came out smaller, by 25% at 2400 wide. That does not mean AVIF at 60 is the better file: the two encoders spend their quality settings differently, and we did not compare how the pictures look. The lesson is that a quality number only means something inside one tool. Compare the picture, then the file size.
One image is not a study. We did not test other kinds of picture such as screenshots or logos, how the files look, or how browsers decode each format. Pictures with flat colour and sharp lines behave differently from photographs. Run the same export on your own three heaviest pictures.
Find the largest size each picture is shown at, in CSS pixels, and export a file about twice as wide for sharp phone and laptop screens. A hero that fills a 1440 pixel wide layout needs roughly 2880 pixels at most, and many sites can go lower. A card that shows at 400 pixels wide needs about 800. Our image resizer does exact sizes in your browser, with a setting that never makes a picture bigger.
Open the exported picture at full size and compare it with the original. Lower the quality until you can see the difference, then go back a step. Our image compressor lets you aim for a quality or a file size and shows a before and after slider. It can also remove photo details such as camera data and place, which is a privacy point as well as a small saving.
Use WebP for photos on the page unless you have a reason not to. Our test shows the saving is largest on big files and nearly gone on small ones. Google Search supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF in the src of an image tag, and recommends the file extension match the type. Keep logos and icons as SVG where you can. Our WebP versus JPG guide covers when to convert back, and our JPG to WebP tool converts a folder at once.
The srcset attribute lets you list several widths of the same picture so the browser picks one. Google's documentation shows an example with 320, 480 and 800 pixel versions and says to always give a src fallback, because some browsers and crawlers do not understand srcset or picture. If your platform generates sizes for you, as most site builders do, check that it is switched on rather than writing the markup by hand.
web.dev says the loading="lazy" attribute stops images being requested until they get near the viewport, and calls the fastest request the one that never happens. It also warns that lazy loading images near the top of the layout can make them feel slower. For the biggest picture in the first screen, which is often what Largest Contentful Paint measures, web.dev says never to lazy load it and to consider fetchpriority="high". web.dev reports that on more than 70% of pages the largest element in the first view involves an image. Our Core Web Vitals guide explains the score.
web.dev's advice is to always put width and height on image tags, with values that match the file's own size, and to keep max-width: 100% and height: auto in your CSS. Browsers then work out the aspect ratio before the file arrives and reserve the space, which avoids the page jumping as pictures load.
Google says it finds images in the src of image tags and does not index CSS images, so a picture you want in image search should not be a CSS background. Use short descriptive filenames, not IMG00023.JPG. Write alt text that describes the picture in context and does not stuff keywords. Use the same URL for an image wherever it appears. Choose a relevant, high resolution image for og:image, not a logo or a picture with text. Our photographer website guide has a measurement of alt text on real home pages.
Run PageSpeed Insights on the page before and after, and compare the Largest Contentful Paint and total page weight. Our speed testing guide explains why scores vary between runs, and our speed optimization guide for small sites puts images in the wider order of fixes. web.dev's course also notes that images were nearly half of a median page's weight when it was written in 2022, so images are usually the place to start.
We export every image on the sites we build at the sizes the layout needs, check the result against the budget above and keep the originals for you. Projects are quoted from their scope, never from hours worked. You pay 40% to begin, 30% when you approve the design and 30% before launch. After the final payment the design, copy and code are yours, and your domain, hosting and analytics accounts are opened in your name. See our web design service or get in touch.
Resize each picture to about twice the width it displays at, export it as WebP at a quality you have checked by eye, give it width and height, lazy load it only if it is below the first screen, and describe it with alt text. In our test, resizing saved more than any other single step.
There is no official number. In our test, a 2400 by 2999 photographic image came out at 657 KB as WebP at full width and 180 KB at 800 pixels wide. Aim for the smallest file that still looks right at the size it is shown, and measure the whole page with PageSpeed Insights.
In our test it was smaller at the same quality setting: 35% at 2400 pixels wide, 25% at 1600 and 10% at 800, with no difference at 400. Google Search supports WebP images in the src attribute. See our WebP versus JPG guide for when to keep a JPG.
No. web.dev says to lazy load images below the first screen, and never to lazy load the large picture at the top, because it can slow the page's Largest Contentful Paint.
Google says the filename gives light clues, and alt text is the most important attribute for metadata. It asks for short descriptive filenames and informative alt text without keyword stuffing.
Yes. Resize and compress before you upload, and check what your platform does with the file afterwards. Our free image tools run in your browser, so the pictures stay on your computer.

The structure behind a website that sells: the five decisions that carry conversion, the homepage section order, and how to rebuild without losing traffic.

How to test website speed and read the result. One page, five runs: mobile scored 97 to 100, desktop 82 and 93. Which number to trust, checked 3 November 2026.

Core Web Vitals without jargon: what LCP, INP and CLS feel like to a visitor, what usually causes each and who fixes it. Checked 12 Nov 2026.