Skip to main content

jupyterlab_advanced_image_viewer_extension

GitHub Actions npm version PyPI version Total PyPI downloads JupyterLab 4 Brought To You By KOLOMOLO Donate PayPal

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.

Advanced image viewer

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 - .webp and .avif files 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 viewer Video viewer

  • 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 help link 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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterlab-advanced-image-viewer-extension 1.2.2
File Size Uploaded Provenance Actions
jupyterlab_advanced_image_viewer_extension-1.2.2.tar.gz 4.1 MB Without provenance Details for jupyterlab_advanced_image_viewer_extension-1.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-advanced-image-viewer-extension 1.2.2
File Interpreter ABI Platform Actions
jupyterlab_advanced_image_viewer_extension-1.2.2-py3-none-any.whl Python 3 none any Details for jupyterlab_advanced_image_viewer_extension-1.2.2-py3-none-any.whl

Total release size: 4.4 MB

Release files / jupyterlab_advanced_image_viewer_extension-1.2.2.tar.gz

Download URL jupyterlab_advanced_image_viewer_extension-1.2.2.tar.gz
Size 4.1 MB
Tags Source
SHA-256 checksum
How to use checksums
5a4481e4bbf2c490b12e9bb696973fa97be274211c2185a2972699b4a697ac9c
BLAKE2b-256 checksum
How to use checksums
d6a72087ed570207fb53717cdb9f0b799b7f70df8938493e79985f4b7e8a8d81
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.2-py3-none-any.whl

Download URL jupyterlab_advanced_image_viewer_extension-1.2.2-py3-none-any.whl
Size 238.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7027c46e52a35585a9ef0e67f5ff62f11f8edb9cd21dafcd5d0f788714f37f37
BLAKE2b-256 checksum
How to use checksums
aebbf6ee017eb3c76fdeb569053ed4fb7e42d5ba99db4e22c3d5560101d60d09
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.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page