Field notes · 4 min
Ridge line at dusk
The last light catches the upper slope first, then the valley goes blue. Start reading here and keep your eye on this line.
Set image dimensions, lazy-load below the fold, prioritize the hero.
From web-design-guidelines (Web Interface Guidelines), Images.
Simulate a slow load and watch the paragraph.
Field notes · 4 min
The last light catches the upper slope first, then the valley goes blue. Start reading here and keep your eye on this line.
<img src="dusk.jpg" alt="">0.000Field notes · 4 min
The last light catches the upper slope first, then the valley goes blue. Start reading here and keep your eye on this line.
<img width="1200" height="675">0.000<img src="/dusk.jpg" width="1200" height="675" alt="Ridge line at dusk">
img { max-width: 100%; height: auto; }
Scroll the feeds and compare the request counts.
Requested 0 of 30
<img width="640" height="360">Requested 0 of 30
<img width="640" height="360" loading="lazy"><img src="/feed/07.jpg" width="640" height="360"
loading="lazy" decoding="async" alt="…">
Load the page and watch when the hero lands.
<img src="hero.jpg">–<img src="hero.jpg" fetchpriority="high">–<img src="/hero.jpg" width="1600" height="900"
fetchpriority="high" alt="…">
Without dimensions the browser reserves nothing, so each image shoves the text.
fetchpriority="high" on many images prioritizes none.