dsh-imgnav
Manifest validClick-to-zoom lightbox with arrow-key paging for DSH conversation images: ← prev / → next / Esc close, edge hints
dsh-imgnav
对话内图片的点击放大 + 键盘翻页 lightbox(DSH web 插件)。
交互
- 点击任意图片卡 → 全屏放大(接管 imgview 卡片自带的单卡放大)
- 放大态内 ← 上一张 / → 下一张(图片按会话内出现顺序)
- 翻到最早一张再 ← → 提示 "这是最早一张";翻到最后一张再 → → 提示 "这是最后一张"
- Esc / 点空白 / 右上角 ✕ 关闭返回页面
- 右下角常驻角标:点击 = 打开最新一张;"键 N" = 累计收到方向/Esc 键次数(诊断信号)
结构
lib/index.js— host half,零 import 零副作用(纯占位)lib/client.js— 全部功能:shell.overlay lightbox + window 捕获键盘 + document 捕获点击
安装(软链模式,改源码重启即生效)
git clone https://github.com/fuguier001/dsh-imgnav.git ~/dsh-imgnav
ln -s ~/dsh-imgnav ~/.dsh/profiles/web/node_modules/dsh-imgnav
并在 ~/.dsh/profiles/web/cordis.patch.yml 加行:
- insert:
- id: imgnav
name: 'dsh-imgnav'
重启 dsh web 生效。
兼容
- 依赖 dsh-imgview 的图片卡(
/dsh-imgview/URL 特征)作为翻页集合 - host half 零依赖零副作用;client half 仅依赖页面 React 与 slots 服务
Comments
Loading…
Similar plugins
by loyalchiiina
DSH plugin: display images inline in chat with lightbox zoom, download (save-as), and prev/next navigation
★ 2
↓ 881/wk
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add @loyalchiiina/dsh-chat-image-lightboxby 3403473060
Render local image paths from assistant replies inline in the message body (9 formats, click-to-zoom lightbox, adjustable size).
★ 3
MIT
JavaScript
Aug 14, 2026
dsh plugin --profile web add dsh-inline-imagesby yuioi666
dsh-conversation-nav-dots 在 DSH Web 对话界面的右侧添加一列导航标记。每个标记对应一条用户消息。点击即可跳转,悬停可预览所有消息内容。
★ 1
↓ 42/wk
MIT
JavaScript
Sep 1, 2026
dsh plugin --profile web add dsh-conversation-nav-dotsby justhalfbit
DeepSeek Harness (DSH) 会话内图片渲染插件:全局 show_image 工具 + 点击放大 lightbox。 | Inline image rendering plugin for DSH: global show_image tool + click-to-enlarge lightbox.
★ 0
MIT
JavaScript
Sep 1, 2026
dsh plugin --profile web add dsh-plugin-show-imageby algerkong
Image preview for DSH (DeepSeek Harness) web sessions: read_image results render as a thumbnail, click for full size in the built-in lightbox.
★ 5
JavaScript
Sep 18, 2026
dsh plugin --profile web add @alger-ai/dsh-image-previewby GooDAnDReaDY
Routes images to a vision model of your choice - auto-rewrite, explicit tools, or hybrid - so a text-only chat model does not fail a turn that contains a picture.
★ 2
↓ 1.2k/wk
MIT
JavaScript
Sep 26, 2026
dsh plugin --profile web add @goodandready/dsh-vision-bridge