💃 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
Python ai-artai-image-generationart-referencecc0comfyuicontrolnetdatasetdrawing-referencefigure-drawingline-artmannequinmidjourneymultilingualnano-bananapose-referencereference-imagesstable-diffusion
feat(web): save to the photo album on phones
wquguru3f60df337c15
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 8ba3aa80..2820d714 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -8,6 +8,9 @@ the catalog schema.## [Unreleased]### Added+- Phones: the lightbox download button reads "Save to Photos" and hands the w900 image to the system share sheet+ (its "Save Image" goes to the photo album; `<a download>` only reached Files / Downloads). Browsers without file+ sharing, such as WeChat, get a long-press hint over the image instead. Strings in all four languages.- Single-view fills from the original generator (Muse, round fill-r1): `import_fills.py` stages them, catalog`fills: {view: source}` points each view at its fill source, and build, review, dups, merge, pack and verify resolvethe source per view. Batch 01 (std): 7 of 10 delivered views passed QC; std now has 294 of 365 views.diff --git a/docs/DESIGN.md b/docs/DESIGN.mdindex 02927294..598417a2 100644--- a/docs/DESIGN.md+++ b/docs/DESIGN.md@@ -39,6 +39,9 @@- 手机首屏:连导航一屏放下(标题 32px、滚动方块只留一行、胶囊缩小),首屏底部露出「全部姿势」。- 手机灯箱:全屏,一屏放下一套——标题、大图、五机位缩略条、底栏(上一套 / 下一套 / 详情 / 下载);四语名称、英文描述、复制 ID、分享等收进「详情」,展开后才可滚动。+ 手机(`pointer: coarse`)上下载按钮叫「保存到相册」:支持文件分享时调系统分享面板(选「存储图像」进相册),当前机位的 w900 在点之前就预取好,+ 因为 iOS 要求 share() 在点击手势里调用;面板关掉后不弹「已保存」(系统不告诉页面用户选了什么)。不支持(微信等)时在大图底部提示长按保存,+ 提示不挡长按。桌面仍是 `<a download>`。- 语言菜单:点开列出 中文 / 日本語 / English / 한국어,当前语言打勾;选中即跳到该语言的页面(保留筛选参数和 hash,去掉 `?lang`),选择记在 localStorage。不用单个按钮轮换语言:读者看不出下一下会到哪种语言。Esc 或点外面关闭。- 下载面板(首屏按钮和灯箱「下载图包」打开):版本 + 许可证、一句说明(轻量包画质几乎无差别,体积约为原图的 1/k,k 按实际大小算)、diff --git a/web/app.css b/web/app.cssindex fca2c756..35fb2b67 100644--- a/web/app.css+++ b/web/app.css@@ -214,6 +214,8 @@ dialog::backdrop { background: rgba(38, 34, 30, 0.55); }.lb-box { position: relative; margin: auto; width: min(1200px, calc(100vw - 48px)); height: min(820px, calc(100vh - 48px)); margin-top: max(24px, calc((100vh - 820px) / 2)); display: flex; border-radius: 34px; overflow: hidden; background: var(--bg); box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5); }.lb-stage { flex: 1 1 auto; position: relative; margin: 18px; border-radius: 26px; background: var(--tint, var(--tile)); display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; }.lb-stage img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }+/* Phone save hint: sits over the stage but lets a long-press reach the image underneath. */+.lb-tip { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--btn); color: var(--btn-ink); font-size: 14px; line-height: 1.45; text-align: center; pointer-events: none; }.lb-missing { position: absolute; inset: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: #3F3D39; padding: 20px; }.lb-missing b { font-size: 20px; font-weight: 600; color: #18181B; }.lb-missing .gap-ic { width: 64px; height: 64px; }diff --git a/web/app.js b/web/app.jsindex febd9f6d..bca030be 100644--- a/web/app.js+++ b/web/app.js@@ -506,6 +506,43 @@renderLb();if (!$('lb').open) $('lb').showModal();}+ /* Phones save to the photo album: <a download> lands in Files on iOS and in Downloads on Android, while the+ system share sheet with the file attached offers "Save Image", which goes to Photos. share() has to run inside+ the tap and an awaited fetch first loses the gesture on iOS, so the view on screen is fetched ahead of the tap.+ Browsers without file sharing (WeChat, older ones) get a long-press hint instead of a dead download. */+ const ALBUM = matchMedia('(pointer: coarse)').matches;+ const SHARE_FILES = ALBUM && !!navigator.canShare && (() => {+ try { return navigator.canShare({ files: [new File([''], 'a.webp', { type: 'image/webp' })] }); } catch (e) { return false; }+ })();+ const FILES = new Map();+ function prefetch(a) {+ if (!SHARE_FILES || !a.href || FILES.has(a.href)) return;+ const url = a.href, entry = { file: null };+ FILES.set(url, entry);+ // About 60 KB each; keep the recent ones so stepping back and forth needs no refetch.+ if (FILES.size > 24) FILES.delete(FILES.keys().next().value);+ fetch(url).then((r) => (r.ok ? r.blob() : Promise.reject(r.status)))+ .then((b) => { entry.file = new File([b], a.getAttribute('download'), { type: 'image/webp' }); })+ .catch(() => FILES.delete(url));+ }+ function lbTip(msg) {+ const el = $('lbTip');+ el.textContent = msg;+ el.hidden = false;+ clearTimeout(lbTip.timer);+ lbTip.timer = setTimeout(() => { el.hidden = true; }, 4000);+ }+ function saveToAlbum(e) {+ const a = e.currentTarget;+ if (!ALBUM || !a.href) return;+ e.preventDefault();+ const entry = SHARE_FILES && FILES.get(a.href);+ if (entry && entry.file) {+ // Resolving only means the sheet closed, not that the image was saved, so success says nothing.+ navigator.share({ files: [entry.file] }).catch((err) => { if (err.name !== 'AbortError') lbTip(t().holdToSave); });+ } else if (SHARE_FILES) { prefetch(a); lbTip(t().preparing); }+ else lbTip(t().holdToSave);+ }function setDl(a, label, f, kind, p) {a.querySelector('span').textContent = label;if (f) { a.href = src(kind, 'w900', f); a.setAttribute('download', 'shisei_' + p.id + '_' + VIEWS[LB.v] + (kind === 'photo' ? '_photo' : '') + '.webp'); a.removeAttribute('aria-disabled'); }@@ -589,8 +626,11 @@if (compare) {setDl($('lbDl'), T.line + ' 900', p.line[LB.v], 'line', p);setDl(dl2, T.photo + ' 900', p.photo[LB.v], 'photo', p);- } else setDl($('lbDl'), T.download + ' · ' + (photo ? '900×1800' : '900×1200'), f, kind, p);+ } else setDl($('lbDl'), ALBUM ? T.saveAlbum : T.download + ' · ' + (photo ? '900×1800' : '900×1200'), f, kind, p);if (veil) [$('lbDl'), dl2].forEach((a) => { a.removeAttribute('href'); a.setAttribute('aria-disabled', 'true'); });+ else [$('lbDl'), dl2].forEach((a) => { if (!a.hidden) prefetch(a); });+ clearTimeout(lbTip.timer);+ $('lbTip').hidden = true;// Static pose pages exist only for general std poses (tools/site_pages.py).const hasPage = hasPosePage(p);$('lbPage').hidden = !hasPage;@@ -638,6 +678,8 @@$('lbVeilAll').addEventListener('click', () => setAdult(true));$('lbCopyDesc').addEventListener('click', () => copy(byId.get(LB.id).desc_en));$('lbCopyId').addEventListener('click', () => copy(LB.id));+ $('lbDl').addEventListener('click', saveToAlbum);+ $('lbDl2').addEventListener('click', saveToAlbum);// Share the pose page, not this #hash: link previews never see a fragment, the pose page has its own card.// Poses without a page fall back to the gallery deep link (generic card, but it opens the pose).$('lbShare').addEventListener('click', () => {diff --git a/web/changelog.yaml b/web/changelog.yamlindex a02cc009..2be09622 100644--- a/web/changelog.yaml+++ b/web/changelog.yaml@@ -4,6 +4,22 @@# tag: new | improve | announce | removed. link: an in-site path without language prefix (/, /changelog/, /pose/P001/),# optionally with ?query and #hash; the build prefixes the reader's language. Newest first.entries:+ - date: 2026-10-30+ tag: improve+ title: Save straight to your photos+ desc: On a phone, the button under a pose now saves the image to your photo album through the system share sheet. Where a browser can't do that, it shows how to save by pressing and holding the image.+ link: /+ cta: Open the gallery+ title_zh: 手机上直接存到相册+ desc_zh: 在手机上打开大图,底部按钮改成「保存到相册」,通过系统分享面板一步存进相册;浏览器不支持时会提示长按图片保存。+ cta_zh: 打开图库+ title_ja: 写真アプリに直接保存+ desc_ja: スマートフォンでは拡大表示の下のボタンから、共有シートを通して画像を写真に保存できるようになりました。対応していないブラウザでは長押しで保存する方法を表示します。+ cta_ja: ギャラリーを開く+ title_ko: 사진 앱에 바로 저장+ desc_ko: 휴대폰에서는 크게 보기 아래 버튼으로 공유 시트를 통해 이미지를 사진 앱에 바로 저장할 수 있습니다. 지원하지 않는 브라우저에서는 길게 눌러 저장하는 방법을 알려 줍니다.+ cta_ko: 갤러리 열기+- date: 2026-10-30tag: improvetitle: A prompt for every posediff --git a/web/i18n.js b/web/i18n.jsindex 01a88cb8..23171d7c 100644--- a/web/i18n.js+++ b/web/i18n.js@@ -23,7 +23,7 @@ window.I18N = {goView: (v) => '看' + v, goLine: '看线稿', goPhoto: '看实拍',empty: '没有找到匹配的姿势', cols2: '两列', cols3: '三列', prevPose: '上一套', nextPose: '下一套', details: '详情',close: '关闭', prevAngle: '上一个机位', nextAngle: '下一个机位', open: (id) => '打开 ' + id + ' 大图',- download: '下载这张', copyId: '复制 ID', fullZip: '下载图包',+ download: '下载这张', saveAlbum: '保存到相册', holdToSave: '长按图片,选「保存图片」即可存到相册', preparing: '正在准备图片,稍后再点一次', copyId: '复制 ID', fullZip: '下载图包',dlNote: (k) => '已为下载优化,做姿势参考画质几乎没有差别,体积约为原图的 1/' + k + '。',dlRec: '推荐', dlAll: '全部系列', dlSetsAll: (n) => n + ' 套 · 五个机位', dlBySeries: '只要一个系列', dlSets: (n) => n + ' 套',dlOriginal: '原图包', dlOriginalAll: '全部系列 · 原图', dlLicense: '图片 CC0 · 含 LICENSE 与 NOTICE',@@ -56,7 +56,7 @@ window.I18N = {goView: (v) => v + 'を見る', goLine: '線画を見る', goPhoto: '実写を見る',empty: '該当するポーズがありません', cols2: '2列', cols3: '3列', prevPose: '前のポーズ', nextPose: '次のポーズ', details: '詳細',close: '閉じる', prevAngle: '前のアングル', nextAngle: '次のアングル', open: (id) => id + ' を拡大表示',- download: 'この画像をダウンロード', copyId: 'ID をコピー', fullZip: 'まとめてダウンロード',+ download: 'この画像をダウンロード', saveAlbum: '写真に保存', holdToSave: '画像を長押しして「写真に保存」を選んでください', preparing: '画像を準備中です。少し待ってもう一度タップしてください', copyId: 'ID をコピー', fullZip: 'まとめてダウンロード',dlNote: (k) => 'ダウンロード向けに最適化済み。ポーズ参照なら画質はほぼ変わらず、サイズは原寸の約 1/' + k + ' です。',dlRec: 'おすすめ', dlAll: 'すべてのシリーズ', dlSetsAll: (n) => n + ' ポーズ · 5 アングル', dlBySeries: 'シリーズごと', dlSets: (n) => n + ' ポーズ',dlOriginal: '原寸パック', dlOriginalAll: 'すべてのシリーズ · 原寸', dlLicense: '画像 CC0 · LICENSE と NOTICE 同梱',@@ -89,7 +89,7 @@ window.I18N = {goView: (v) => 'See ' + v, goLine: 'See line art', goPhoto: 'See photo',empty: 'No poses match', cols2: 'Two columns', cols3: 'Three columns', prevPose: 'Previous pose', nextPose: 'Next pose', details: 'Details',close: 'Close', prevAngle: 'Previous angle', nextAngle: 'Next angle', open: (id) => 'Open ' + id,- download: 'Download', copyId: 'Copy ID', fullZip: 'Download pack',+ download: 'Download', saveAlbum: 'Save to Photos', holdToSave: 'Press and hold the image, then choose Save', preparing: 'Getting the image ready, tap again in a moment', copyId: 'Copy ID', fullZip: 'Download pack',dlNote: (k) => 'Optimised for download: for pose reference the quality is practically the same, at about 1/' + k + ' of the original size.',dlRec: 'Recommended', dlAll: 'All series', dlSetsAll: (n) => n + ' poses · 5 angles', dlBySeries: 'Just one series', dlSets: (n) => n + ' poses',dlOriginal: 'Originals', dlOriginalAll: 'All series · originals', dlLicense: 'Images CC0 · includes LICENSE and NOTICE',@@ -122,7 +122,7 @@ window.I18N = {goView: (v) => v + ' 보기', goLine: '선화 보기', goPhoto: '실사 보기',empty: '일치하는 포즈가 없습니다', cols2: '2열', cols3: '3열', prevPose: '이전 포즈', nextPose: '다음 포즈', details: '상세',close: '닫기', prevAngle: '이전 앵글', nextAngle: '다음 앵글', open: (id) => id + ' 크게 보기',- download: '이 이미지 다운로드', copyId: 'ID 복사', fullZip: '묶음 다운로드',+ download: '이 이미지 다운로드', saveAlbum: '사진에 저장', holdToSave: '이미지를 길게 눌러 「저장」을 선택하세요', preparing: '이미지를 준비 중입니다. 잠시 후 다시 눌러 주세요', copyId: 'ID 복사', fullZip: '묶음 다운로드',dlNote: (k) => '다운로드용으로 최적화했습니다. 포즈 참조라면 화질 차이는 거의 없고, 용량은 원본의 약 1/' + k + '입니다.',dlRec: '추천', dlAll: '전체 시리즈', dlSetsAll: (n) => n + '가지 포즈 · 5개 앵글', dlBySeries: '시리즈별', dlSets: (n) => n + '가지 포즈',dlOriginal: '원본 묶음', dlOriginalAll: '전체 시리즈 · 원본', dlLicense: '이미지 CC0 · LICENSE와 NOTICE 포함',diff --git a/web/index.html b/web/index.htmlindex c16f470a..42a997da 100644--- a/web/index.html+++ b/web/index.html@@ -119,6 +119,7 @@ __NOSCRIPT__<button type="button" class="lb-nav l" id="lbPrev" data-i18n-aria="prevAngle"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M15 5l-7 7 7 7"/></svg></button><button type="button" class="lb-nav r" id="lbNext" data-i18n-aria="nextAngle"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M9 5l7 7-7 7"/></svg></button><span class="lb-counter" id="lbCounter"></span>+ <p class="lb-tip" id="lbTip" role="status" hidden></p></div><aside class="lb-side"><div class="lb-head">