jupyterlab_advanced_image_viewer_extension
A JupyterLab 4 extension that makes the built-in image viewer interactive and adds audio and video viewers. Images open fitted to the panel just like the stock viewer, then you can zoom with the wheel, pan by dragging, and step through a folder of images with the arrow keys - all in a single viewer tab.
The viewer toolbar adds zoom in / out / fit controls and a help link that lists every keybinding.
Features
- Fit to screen - every image opens scaled to fit the panel (same result as the stock viewer), and reset returns to that fit
- Wheel zoom - scroll to zoom in and out, anchored at the cursor; zoom out as far as you like
- Drag to pan - hold and drag to move the image at any zoom; the image can touch a viewport border but never leave it, the grab cursor is always available, and Fit recenters
- Toolbar controls - zoom in, zoom out, and reset-to-fit buttons on the viewer toolbar
- Arrow-key navigation - Left and Right open the previous and next image in the same folder, in the order the file browser lists them, advancing within one viewer instead of opening new tabs
- Copy to clipboard - right-click a raster image (PNG/JPG/…) and choose "Copy to Clipboard" to copy it as PNG to the system clipboard
- Refresh - a toolbar refresh button reloads the image from disk, the same control the HTML viewer provides
- WebP and AVIF support -
.webpand.aviffiles open in the image viewer with every feature above; stock JupyterLab does not open them and shows a File Load Error
Audio and video viewers
Audio files open in a waveform player built on wavesurfer.js and video files in a Plyr player. The extension disables the stock JupyterLab audio and video viewers, so a double click on a media file opens these instead.
- Audio controls - play/pause, back and forward 5 s, Loop, a speed choice of 0.5x to 2x, waveform zoom with - / + / Fit, an overview strip that seeks anywhere in the file, the time under the mouse, and a drag-marked loop region of at least 1 s
- Video controls - play/pause, a seek bar, the current time, mute and volume, a speed menu, picture in picture and full screen, in a player fitted to the panel with the aspect ratio kept
- Keys in a focused media tab - Space plays and pauses, Left and Right seek 5 s, and Page Up / Page Down open the previous and next file of the same kind in the folder, in the order the file browser lists them (the folder navigation setting turns this off)
- Help dialog - a
helplink in each media toolbar lists the keys and the waveform gestures - File details - the toolbar shows the format, the size and the duration, plus the channel count for audio and the frame size for video
- 100 MB limit - a file up to 100 MB is downloaded once from its file URL and played from that copy, so seeking works on a server without byte ranges; above 100 MB the audio waveform is skipped and either file plays from its URL, so seeking there needs a server that serves byte ranges
Requirements
- JupyterLab >= 4.6
Install
To install the extension, execute:
pip install jupyterlab_advanced_image_viewer_extension
Uninstall
To remove the extension, execute:
pip uninstall jupyterlab_advanced_image_viewer_extension
Metadata
Release files for jupyterlab-advanced-image-viewer-extension 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jupyterlab_advanced_image_viewer_extension-1.2.3.tar.gz | 4.1 MB | Without provenance | Details for jupyterlab_advanced_image_viewer_extension-1.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jupyterlab_advanced_image_viewer_extension-1.2.3-py3-none-any.whl | Python 3 | none | any | Details for jupyterlab_advanced_image_viewer_extension-1.2.3-py3-none-any.whl |
Total release size: 4.4 MB
Release files / jupyterlab_advanced_image_viewer_extension-1.2.3.tar.gz
| Download URL | jupyterlab_advanced_image_viewer_extension-1.2.3.tar.gz |
|---|---|
| Size | 4.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db61d9474d106580dcdbec19d1114caeaad0d81cb1864d66fd2bf8dc5811c6a4
|
|
BLAKE2b-256 checksum How to use checksums |
b155689cd5559074b529cf126fc6b679a198f57e119f79e9126d140efa61b5ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Release files / jupyterlab_advanced_image_viewer_extension-1.2.3-py3-none-any.whl
| Download URL | jupyterlab_advanced_image_viewer_extension-1.2.3-py3-none-any.whl |
|---|---|
| Size | 238.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c547227c79e8616d746380ff9df13859eb1fe88c1ecd80b0af78a88ddf8326f
|
|
BLAKE2b-256 checksum How to use checksums |
169a38a6970eec20dc2df9078729ba5b209564e463ef6e2c84bfb7ffc28a3737
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Security for jupyterlab-advanced-image-viewer-extension 1.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.