loyalchiiina/dsh-chat-image-lightbox 预览 preview

loyalchiiina/dsh-chat-image-lightbox

DSH plugin (DSH >= 2.0.14): full-screen chat image lightbox (zoom/pan/download/page), conversation-wide thumbnail grid with adjustable columns, hide/show with no blank space, lossless native-resolution TIFF/HEIC display, hotlink fallback, copy path & show in folder. 对话图片灯箱+可调列数缩略图网格+隐藏(不留空白)+TIFF 原像素无损+防盗链自动降级+复制路径/打开文件夹的 DSH 插件(DSH >= 2.0.14)。

Project Overview项目介绍

DSH Chat Image Lightbox is a DeepSeek Harness plugin that renders images inline in chat and opens a full-screen lightbox on click. Core capabilities include scroll-to-zoom, drag-to-pan, download (save-as), keyboard/touch prev-next navigation, prefetching of adjacent images, and MutationObserver-based auto-enhancement of new images. Use it when reviewing multiple images within a conversation. Note: the save-as download only works for same-origin images; cross-origin images open in a new tab instead.

DSH Chat Image Lightbox 是 DeepSeek Harness 插件,在聊天中内联显示 AI 回复里的图片,点击可全屏放大查看。核心能力包括滚轮缩放、拖拽平移、下载(另存为)、键盘/手势前后切换、自动预取相邻图片,并对新增图片自动增强。适用于需要在对话流中浏览多张图并查看细节的场景。需注意:下载"另存为"功能仅对同源图片生效,跨域图片会改为新标签页打开。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile desktop add dsh-chat-image-lightbox

把 loyalchiiina/dsh-chat-image-lightbox 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Chat Image Lightbox 🖼

🛠 v1.7.5 — 发图片失败已修复 / Image-sending bug fixed

如果你在 DSH 里发图片失败(报 prompt rejected + ERR_DLOPEN_FAILED + session/agent-busy,纯文字正常), 那是 1.7.4 及更早的已知问题,1.7.5 已修复。升级 + 重启 DSH 即可:

pnpm add dsh-chat-image-lightbox@latest

原因:本插件旧版把 sharp 精确锁在 0.34.4,与 DSH 内核的 ^0.35.3 冲突,两个版本争抢同名 libvips-42.dll。 详见 Release v1.7.5 · 排查见 ⑥ 发图失败 与 Troubleshooting ⑥。

If sending an image fails with those errors (plain text works fine), it is a known issue in 1.7.4 and earlier, fixed in 1.7.5. Upgrade and restart DSH. Cause: the old version pinned sharp to 0.34.4, conflicting with the kernel's ^0.35.3 over the same-named libvips-42.dll.

对话里的图,值得被认真看。

Images in chat deserve a proper look.

English | 中文

📦 npm 包名 / npm package name:dsh-chat-image-lightbox(无 scope / unscoped) 旧包名 @loyalchiiina/dsh-chat-image-lightbox 已被取代,历史版本已标记弃用。 The legacy scoped name @loyalchiiina/dsh-chat-image-lightbox is superseded; its older versions are deprecated.

dsh plugin --profile desktop add dsh-chat-image-lightbox

当前版本 / Current version:1.7.3 适用内核 / Requires:DSH 2.0.14 及以上(已在 DSH NEXT 2.0.15 上完整验证)。 DSH 2.0.14+ (fully verified on DSH NEXT 2.0.15).

⚠️ 升级到 1.7.3 前请注意 / Before upgrading to 1.7.3 1.7.2 起 移除了「跳图」功能(该功能在多次迭代中不够稳定,已整体删除,界面上不再出现 ⌖ 按钮)。 Since 1.7.2 the jump-to-image feature was removed — it proved unreliable across iterations and has been deleted outright; no ⌖ button appears anymore.

效果预览 · Screenshots

灯箱查看 · Full-screen lightbox

灯箱全屏查看

原图完整显示(自动适配屏幕高度),右上角是「⬇ 下载」与「✕ 关闭」;同一条消息里的其他图片可连续翻页浏览。 The full-resolution image auto-fits the viewport, with ⬇ download and ✕ close in the top-right; other images in the same message can be paged through.

缩略图分列 · Thumbnail grid with adjustable columns

缩略图分列效果

多列分列效果

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-inline-diff 下一个 Next dsh-billing-glass →