Repository navigation
Serve the Eight Archived Posts' Hotlinked Images Locally - #530
Conversation
The eight posts in #513 embedded 95 images from hosts that no longer serve them. The seven 2009 and 2010 posts were written in Google Docs and published to Blogger, and the source documents still hold every embedded image, so this restores them under each post's own media. - Restore the 94 images from the source documents, matched to each post's references in order and checked against the text around each one, and point every image and its wrapping link at the local copy. - Host the Elco ECF41527W product image on the MR16 retrofit post, taken from the manufacturer's current product page, since the original URL answers 404. - Strip the camera and text metadata from eleven files with the normalizer, which drops segments and re-encodes nothing. - Empty the CSP browser check's allow list, since the site no longer loads anything the policy blocks. Closes #513 Co-Authored-By: Claude Opus 5.5 <[email protected]>
The blog policy's description still said img-src 'self' blocks the hotlinked images a few archived posts reference. None remains, so the sentence described a block that no longer happens. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #530 +/- ##
==========================================
Coverage ? 52.39%
==========================================
Files ? 12
Lines ? 3336
Branches ? 0
==========================================
Hits ? 1748
Misses ? 1588
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟡 Changes recommended
Descriptive alt text is missing from the restored images, and the CSP documentation still needs its image-source claim scoped correctly.
8 open issues
Add descriptive alt text to restored images · New Add descriptive alt text to restored images · New Add descriptive alt text to restored images · New Add descriptive alt text to restored images · New Add descriptive alt text to restored images · New Add descriptive alt text to restored images · New Add descriptive alt text to restored images · New Add descriptive alt text to the Elco insert image · New
What changed in this PR
This pull request restores 95 broken image references across eight archived posts by serving the images locally, removes obsolete CSP browser-check exceptions, and updates deployment documentation.
Changes:
- Replaces 94 Google Docs image references and one Elco product hotlink with local media paths.
- Adds normalized local image assets while preserving wrappers, titles, and the NEC post’s plain-text link.
- Removes the obsolete CSP allowlist entries and updates its documentation.
| File | Reviewed change | Findings |
|---|---|---|
deploy/README.md |
Updates documentation for the empty CSP browser allowlist. | [P2] nit (1 vote): Scope the image-source claim to the blog or mention the family policy’s data: exception. |
content/posts/2015/08/02/mr16-12v-halogen-to-led-retrofit.md |
Localizes the Elco product image. | [P1] moderate (2 votes): Add descriptive alt text to the restored image. |
content/posts/2010/05/14/zotac-zboxhd-id11-first-impressions.md |
Localizes 13 archived images. | [P1] moderate (3 votes): Add descriptive alt text to the restored images. |
content/posts/2010/01/30/nec-multisync-lcd2490wuxi2-and-lcd2690wuxi2.md |
Localizes 11 images and the plain-text image link. | [P1] moderate (2 votes): Add descriptive alt text to the restored images. |
content/posts/2010/01/30/data-robotics-drobopro-vs-qnap-ts-859-pro.md |
Localizes 41 archived images. | [P1] moderate (2 votes): Add descriptive alt text to the restored images. |
content/posts/2010/01/03/intel-dp45sg-and-lian-li-pc-c33b-htpc.md |
Localizes 10 archived images. | [P1] moderate (2 votes): Add descriptive alt text to the restored images. |
content/posts/2009/10/11/hitachi-a7k2000-and-seagate-barracude.md |
Localizes eight archived images. | [P1] moderate (2 votes): Add descriptive alt text to the restored images. |
content/posts/2009/09/21/western-digital-re4-gp-2tb-drive.md |
Localizes six archived images. | [P1] moderate (2 votes): Add descriptive alt text to the restored images. |
content/posts/2009/06/14/dell-2408wfp-and-spyder-3-elite.md |
Localizes five archived images. | [P1] moderate (2 votes): Add descriptive alt text to the restored images. |
checks/csp-browser-allow.txt |
Removes the two obsolete external-image exceptions. | No findings. |
Review effort: Lite

Summary
The eight archived posts in #513 embedded 95 images from hosts that no longer serve them. The seven 2009 and 2010 posts were written in Google Docs and published to Blogger, and the source documents in the maintainer's Drive still hold every embedded image. This restores all 95 under each post's own media, so no post loads an image from another host.
static/media/<YYYY>/<MM>/<post-prefix>-NN.<ext>, perCONTENT.md"Media".404.scripts/normalize-media.pystripped camera Exif and text chunks from eleven files. It drops segments only, so no image was re-encoded.deploy/README.mdno longer describes the blocked images.Closes #513
Verification
Run on server-2 in a worktree holding this branch's content:
checks/check-media-metadata.py: 1169 carried files, none it cannot vouch for.check-media-redactions.py,check-text-pii.pyandcheck-env-docs.pypass.deploy/make-release.shagainst the local staging mirror. The URL contract passes, all 1157 local asset references resolve, and the orphan count holds at its baseline of 99, so every new file is linked. The CSP script gate passes.checks/check-live-urls.sh:PASS - 1296 URLs honored.checks/check-csp-browser.pywith the empty allow list:PASS - 328 pages loaded with no violation the allow list lacks.deploy/README.md, is fixed in 8f53728.Pre-existing findings, not filed
content/posts/2015/08/02/mr16-12v-halogen-to-led-retrofit.md:303,pre-existing. The text names the ECF41540W (4000K) kitchen inserts, while the figure shows the ECF41527W. The dead hotlink named the same part, so this change keeps the mismatch rather than introducing it.Related
#529 tracks a build gate that fails on any resource served from another origin. That gap is why these images went unnoticed. The issue also records the decision to self-host Google Fonts on both sites, in a pull request of its own.
🤖 Generated with Claude Code