Skip to content

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.

When Heddle is set up on your site, this check runs on every build alongside 25 others, so a page that fails it is fixed before a buyer or a search engine sees it.

runs offlineruns every build

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 ddb1b16.

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 left in a published post.

Does the images check need an AI model?

No. It reads the built pages or the sources directly, so it runs offline and costs nothing per run.

How do I run it?

Build the site, then run node bin/heddle.mjs check <site> --only images from the Heddle repository.

Work with us

Let the agents bring you the leads.

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.

On the call, for your site

  1. The searches your buyers makeMeasured, with how many people make each one
  2. Where you show up, and where you don'tOn Google and in ChatGPT's answers
  3. The agents' first monthThe pages, fixes and links they would start with