Skip to content

General: Shrink issue screenshots uploaded as HTML img tags - #2638

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 — recent issues like #2632 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 itself 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).

Refs #2632

Bump the shared thumbnail workflow pin to 94e36d9, which carries the
analyze action that also rewrites GitHub-uploader-emitted <img> tags
into clickable thumbnails. Previously only Markdown-style images were
shrunk, so recent issues kept full-size screenshots (e.g. #2632).
@d4rken d4rken added enhancement New feature, request, improvement or optimization Build process Meta issues not related to the app but the project / gradle, i.e. building it. labels Aug 11, 2026
@d4rken
d4rken merged commit 9524e65 into main Aug 11, 2026
13 checks passed
@d4rken
d4rken deleted the thumbnail-workflow-html-pin branch August 11, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build process Meta issues not related to the app but the project / gradle, i.e. building it. enhancement New feature, request, improvement or optimization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant