@saifymatteo/pi-user-image-previews
Adds collapsible UI-only previews for newly submitted image attachments.
Package details
Install @saifymatteo/pi-user-image-previews from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@saifymatteo/pi-user-image-previews- Package
@saifymatteo/pi-user-image-previews- Version
0.1.3- Published
- Nov 5, 2026
- Downloads
- 415/mo · 415/wk
- Author
- saifymatteo
- License
- AGPL-3.0-only
- Types
- extension
- Size
- 43.2 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"image": "https://raw.githubusercontent.com/saifymatteo/pi-extensions/main/packages/pi-user-image-previews/screenshot.png",
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Inline user image previews

An attached image gets a collapsible preview row in the transcript. Ctrl+O opens it inline. Stock pi shows nothing.
Adds collapsible UI-only previews for newly submitted image attachments.
Try locally
From the repository root:
pi -e ./packages/pi-user-image-previews
This uses your normal personal resources unless you isolate the agent home. Follow the root README to avoid loading an existing copy of the extension. Nothing is installed globally.
Configuration and requirements
No config files. Ctrl+O expands/collapses previews. References original messages without inserting duplicate model image payloads.
Compatibility and safety
Source targets Pi 1.3+ and uses host transcript/layout details. Requires an image-capable terminal for graphics. No independent image upload or model request is made by this package.
Imported host APIs are declared as peer dependencies and supplied by the Pi host. A * peer range describes host resolution, not a guarantee of compatibility with every release. See root verification notes for what was actually exercised.
Status
Part of the pi-extensions collection. No personal settings or credentials are included; see NOTICE.md for licensing and provenance.
