heddle check --only images
images Check
Images: every <img> on a built page reserves its box (width and height), every content image is in the measured manifest, below-the-fold images load lazily, and no screenshot placeholder ships. Origins (the source site): - A site audit found 639 <img> tags across 161 pages with no width or height. mjs). - Pictures are evidence ("a logo is read faster than a sentence"), and a screenshot of a measured result is the proof a reader can check.
With Heddle on your site it runs on every build, so a page that fails it is fixed before a buyer or a search engine sees it.
Why it exists
Images: every <img> on a built page reserves its box (width and height), every content image is in the measured manifest, below-the-fold images load lazily, and no screenshot placeholder ships.
Origins (the source site):
- A site audit found 639
<img>tags across 161 pages with no width or height. Layout shift as each loaded (scripts/image-dimensions.mjs). - Pictures are evidence ("a logo is read faster than a sentence"), and a screenshot of a measured result is the proof a reader can check.
The writer marks where one belongs with and never invents it; a person takes it, redacts it and replaces the marker. A marker left in a published post is a missing proof.
- 7 October 2026. Once media lived only in object storage, a file added to the folder and never uploaded was a live 404. A page that links media the manifest does not hold fails (site.json media; heddle media).
Alt text is the surface check's (every <img> has an alt attribute).
From lib/checks/images.mjs in the Heddle repository at 4ccdf8b.
Questions
What does the images check look for?
Every built <img> has width and height, content images are in heddle/image-dimensions.json, lazy loading, and no screenshot marker or email image placeholder left in a published post.
How do I run the images check?
Build the site, then run node bin/heddle.mjs check <site> --only images from the Heddle repository.
Ready to get found?
Check your site, talk to us, or see the plans.
Tell us about your business and who buys from you. On a short call we'll show you the searches your buyers make where you don't show up yet, and what the agents would do about them in their first month.