Skip to content

Shrink issue screenshots uploaded as HTML img tags - #677

Merged
d4rken merged 1 commit into
mainfrom
thumbnail-workflow-html-pin
Aug 11, 2026
Merged

d4rken merged 1 commit into
mainfrom
thumbnail-workflow-html-pin

Conversation

@d4rken

@d4rken d4rken commented Aug 11, 2026

Copy link
Copy Markdown
Member

What changed

Screenshots attached to GitHub issues get shrunk into small clickable thumbnails again. GitHub changed how uploaded screenshots are embedded in issue text (HTML image tags instead of Markdown images), and the thumbnail automation didn't recognize the new format, so recent issues kept huge full-size screenshots.

Technical Context

  • One-line pin bump of the shared thumbnail workflow (d4rken-org/.github): the analyze action now also rewrites GitHub-uploader-emitted <img width=… height=… src=…> tags (portrait, taller than 640px) into the same clickable <a><img width> thumbnails as Markdown images. The tag attributes carry the dimensions, so these rewrites make no network requests.
  • The action change was reviewed and tested upstream in Shrink screenshots that GitHub uploads as HTML img tags .github#2 (48 unit tests including adversarial input cases; the analyze job still runs with zero token scopes), and is already live in d4rken-org/sdmaid-se (verified on a real issue).

@d4rken
d4rken merged commit fe67ce0 into main Aug 11, 2026
11 checks passed
@d4rken
d4rken deleted the thumbnail-workflow-html-pin branch August 11, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant