Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By kudv0.3.0MITIn 1 marketplace
See the images you paste into Claude Code: thumbnails above the prompt, drawn with real pixels in kitty and Ghostty (and iTerm2 with CLAUDE_CODE_FORCE_TERMINAL_IMAGES=1), and as half-block thumbnails everywhere else.
Code that runs inside Claude Code on every session, as you, unsandboxed.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it runs programs; reads files; reads environment variables (CLAUDE_CODE_FORCE_TERMINAL_IMAGES, CLAUDE_CODE_TMPDIR, CLAUDE_CONFIG_DIR, HOME, IMAGE_VIEW_CELL_ASPECT, TERM, TERM_PROGRAM); reads your settings.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
images, paste, preview, thumbnails, mod, terminal, claude-code
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code mod that shows thumbnails of the images you paste: in the band above the prompt while you write, and in the conversation history once you send, instead of bare [Image #1] tags.
It draws real pixels in terminals that speak the kitty graphics protocol, and falls back to half-block thumbnails in any other truecolour terminal.
| Terminal | Element | What you see |
|---|---|---|
kitty (TERM=xterm-kitty), Ghostty | Image | the picture itself, at full resolution, out of the box |
| iTerm2 3.6+ or nightly (kitty graphics), with the setting below | Image | the picture itself, at full resolution |
| everything else (iTerm2 without the setting, WezTerm, tmux…) | Raster | a half-block thumbnail: ▀ per cell, two truecolour pixels a cell |
iTerm2 draws kitty graphics from 3.6 (and the nightly builds), but Claude Code cannot detect it, so tell it to. Set CLAUDE_CODE_FORCE_TERMINAL_IMAGES=1 in the environment Claude Code starts from:
export CLAUDE_CODE_FORCE_TERMINAL_IMAGES=1
or in the env block of Claude Code's settings (~/.claude/settings.json):
{
"env": {
"CLAUDE_CODE_FORCE_TERMINAL_IMAGES": "1"
}
}
Without it, iTerm2 gets the Raster thumbnails. kitty and Ghostty need nothing.
Claude Code reads the override once, as it starts. Added to settings mid-session, it takes effect after a restart; until then the mod keeps drawing Raster thumbnails.
Raster fallbackFor the Raster path the pasted PNG is scaled with macOS sips to exactly the tile's pixel size (columns × rows × 2), written as an uncompressed BMP beside Claude Code's own copy of the paste, read back, turned into cells, and the temporary file removed. Nothing leaves the machine. Decoded tiles are cached per image and size, so resizing the terminal decodes once per new size.
Off macOS, where there is no sips, the tile reads no preview.
[Image #n] tag resolves to the session's cached paste and draws the same tile as the band. Collapsed rows stay a single line of tags, rows from other origins are left alone, and rows outside the viewport keep the terminal's own rendering, so long transcripts stay cheap. If a thumbnail cannot be drawn, the message text is left untouched.Image tile is sized for the real shape of a terminal cell, so the picture fills its border with no empty bands. The mod API does not report cell pixels, so it assumes a cell 2.3 times as tall as it is wide (iTerm2, kitty and Ghostty at common fonts). If your font leaves thin bands, set IMAGE_VIEW_CELL_ASPECT (1 to 4) to your cell's height over its width: higher removes bands above and below, lower removes them at the sides.CleanShot 2026-10-05 at [email protected] 📸. Names too wide for the tile shorten in the middle and keep their extension; a paste with no recorded file name is labelled [Image #n] 📸.claude --plugin-dir /path/to/claude-plugins/plugins/image-view
Needs Claude Code 2.1.287 or later.
Adapted from jarrodwatts/claude-image-view by Jarrod Watts (MIT): the prompt polling, the paste-folder lookup and the tile layout are his. The Raster fallback is new here. See LICENSE.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub kud/claude-plugins --plugin image-viewPlugins from other owners that cover similar ground