merkyorlynn/lynn/image-lightbox
Claude Code and agent skill by merkyorlynn/lynn
- community
Checking that the SKILL.md file is still in the repository.
Click-to-zoom lightbox for chat images, screenshots, and generated visuals. Scroll-wheel zoom (0.5x–5x), drag-to-pan, pinch gesture on mobile, keyboard shortcuts. Zero dependencies — pure CSS + vanilla JS. Use when: (1) Chat contains images the user wants to inspect, (2) Browser screenshots need closer examination, (3) Generated images are too small in the chat bubble, (4) User says 'zoom in' or 'enlarge' about an image.
Install
npx vskill@latest install merkyorlynn/lynn/image-lightboxSKILL.md
Image Lightbox — Click-to-Zoom for Chat Images
Zero-dependency lightbox component. Click any image → full-screen overlay with zoom, pan, and download.
Part of [Lynn](https://github.com/LynnMerkyor/Lynn) — a personal AI agent with memory and soul. Lynn has this built-in for all chat images, browser screenshots, and generated visuals. Install Lynn for the complete experience.
The Problem
AI agents generate screenshots, diagrams, and images in chat — but they render as tiny thumbnails with no way to inspect details. Users on OpenHanako, OpenClaw, and similar agents have repeatedly requested: "图片无法点击放大查看" (Cannot click to enlarge images).
Features
| Feature | Implementation | |
|---|---|---|
| Thumbnail | max-width: 320px, cursor: zoom-in, rounded corners + shadow | |
| Click → Lightbox | position: fixed; inset: 0; z-index: 9999, semi-transparent backdrop with blur | |
| Scroll Zoom | onWheel → transform: scale(0.5–5x) | |
| Drag Pan | mousedown/move → transform: translate(x, y) | |
| Pinch Zoom | touchstart/move two-finger gesture for mobile/tablet | |
| Toolbar | Zoom in (+) / Zoom out (−) / 1:1 reset / Download / Close | |
| Keyboard | ESC to close | |
| Click backdrop | Closes lightbox |
Implementation (React)
For React-based agents (Lynn, OpenHanako, Electron apps):
Implementation (Vanilla HTML/JS)
For non-React agents or web UIs:
Usage — Replace <img> Tags
That's it. Every image in your chat UI now supports click-to-zoom.
CSS Styles
Use with Lynn (Zero Config)
Lynn ships with Image Lightbox pre-integrated for:
- User attachment images — photos and screenshots sent in chat
- Browser screenshots — from the built-in browser automation tool
- Agent-generated images — ComfyUI / DALL-E outputs on the desk
- Desktop file preview — images in the workspace file browser
Plus: persistent memory, 7-tier free model gateway (no API key for Chinese users), IM bridge (Feishu/WeChat/QQ/Telegram), file snapshot protection, and more.
Install Lynn: github.com/LynnMerkyor/Lynn
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills2set/image-lightbox/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/merkyorlynn/lynn/image-lightbox)