EN, Change language
Englishالعربية
BH-103

Images are served at the size they are shown, not scaled down in the browser.

The requirement

Images are served at the size they are shown, not scaled down in the browser.

Why it matters to users

When a 4000px-wide photo is sent to fill a 400px slot, the phone downloads many times what it needs. The citizen pays from their data plan for detail they never see.

How to fix it

Resize images to the size they are shown at, serve several sizes through srcset and sizes so the browser picks the right one, and turn on automatic resizing in your CMS. Then scan again.

How we measure it

Natural size against displayed size, each image once (over 2.2× wider without srcset flagged, a threshold set by xfix).

Its official source

Related rules

Images sized to display · Bahrain BH-103 | xfix