Meowrium/dsh-sidebar-image-zoom ↗★ 0
dsh-sidebar-image-zoom
DSH plugin: zoomable, pannable image preview for the right-sidebar document pane. Adds wheel-zoom (cursor-anchored), drag-pan, fit / fit-width / 1:1, and a zoom readout to the images dsh already shows. / dsh 右侧边栏图片预览缩放插件。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Meowrium/dsh-sidebar-image-zoom说明文档
阅读完整 README ↗Usage
| Action | Result |
|---|---|
| Mouse wheel | Zoom in/out, anchored at the cursor — the pixel under the pointer stays put |
| Drag | Pan (once the scaled image is larger than the pane) |
| Double-click | Toggle 适应窗口 ↔ 1:1 |
适应窗口 | Fit the whole image in the pane |
适应宽度 | Fit to pane width only |
1:1 | Original size, one image pixel per screen pixel |
+ / − | Step zoom |
+ / - / 0 / 1 | Same, from the keyboard (0 = fit, 1 = 1:1) |
The image opens at 1:1 by default, matching the built-in feel; a percentage readout sits in the toolbar. Zoom range is 10 % – 1200 %. When the image is smaller than the pane it is centred; when larger, panning is clamped so you cannot drag it out of view.