Skip to content

πŸ’ƒ Free CC0 mannequin pose reference library for AI image tools (Nano Banana, ChatGPT, ComfyUI, Midjourney) β€” 250+ poses Γ— 5 angles in line art, names in ja/zh/en/ko

perf(web): size pose cards at 290px so 2x desktops load w600

wquguruba502f41f834
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c27002a1..dbe5c85a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,8 @@ the catalog schema.
(phones: one share sheet). The pose lightbox gets "Pick a costume for this pose"; the home page a band after the grid.
### Changed
+- Pose cards claim 290 px in `sizes`, so 2x desktop screens load the w600 tier instead of w900 (about 40% fewer
+ bytes per card).
- Performance: fonts are self-hosted Latin subsets (Inter Tight, JetBrains Mono; 65 KB, OFL files in `web/fonts/`)
and CJK text uses system fonts, replacing Google Fonts (28 requests, 1.6 MB, often unreachable from mainland China).
The lightbox fetches what is on screen first and preloads only afterwards, two at a time, cancelled on every step;
diff --git a/web/app.js b/web/app.js
index c2c2fead..8fb43a6f 100644
--- a/web/app.js
+++ b/web/app.js
@@ -315,12 +315,14 @@
const cur = curView(p);
const f = arr[cur];
const kind = photo ? 'photo' : 'line';
+ // Cards are about 300-330 px wide on desktop; claiming 290px keeps 2x screens on w600 (~20 KB) instead of w900
+ // (~33 KB). The line art barely changes at that scale and the grid is most of the site's traffic.
const dots = VIEWS.map((_, i) => '<button type="button" data-dot="' + i + '" aria-label="' + esc(T.views[i]) + '" aria-pressed="' + (i === cur) + '"' + (arr[i] ? '' : ' disabled') + '><i></i></button>').join('');
// The gap box sits beside the tile link, not in it: its button cannot nest inside an <a>.
const veil = veiled(p);
return '<article class="card' + (veil ? ' veiled' : '') + '" data-id="' + p.id + '" style="--tint:' + p.tint + '">' +
'<div class="tile-box"><a class="tile" href="#' + p.id + '-' + VIEWS[cur] + '" data-tile aria-label="' + esc(T.open(p.id) + ' ' + nameOf(p)) + '">' +
- '<img' + (f ? ' src="' + src(kind, 'w300', f) + '" srcset="' + srcset(kind, f) + '"' : '') + ' sizes="(max-width: 720px) 50vw, 320px" alt="' + esc(p.id + ' ' + nameOf(p) + ' Β· ' + T.views[cur]) + '" loading="lazy" decoding="async"' + (f ? '' : ' hidden') + '>' +
+ '<img' + (f ? ' src="' + src(kind, 'w300', f) + '" srcset="' + srcset(kind, f) + '"' : '') + ' sizes="(max-width: 720px) 50vw, 290px" alt="' + esc(p.id + ' ' + nameOf(p) + ' Β· ' + T.views[cur]) + '" loading="lazy" decoding="async"' + (f ? '' : ' hidden') + '>' +
(!photo && p.photo.some(Boolean) ? '<span class="badge ph">' + esc(T.hasPhoto) + '</span>' : '') +
'<span class="vlabel">' + esc(T.views[cur]) + ' ' + (cur + 1) + '/5</span>' +
'</a><div class="missing"' + (f ? ' hidden>' : '>' + cardGapHtml(arr, cur, photo)) + '</div>' + (veil ? veilBtn(p) : '') + '</div>' +