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. 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 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
  • 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)
  • 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

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.1

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.1
File Size Uploaded Provenance Actions
jupyterlab_advanced_image_viewer_extension-1.2.1.tar.gz 1.6 MB Without provenance Details for jupyterlab_advanced_image_viewer_extension-1.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / jupyterlab_advanced_image_viewer_extension-1.2.1.tar.gz

Download URL jupyterlab_advanced_image_viewer_extension-1.2.1.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
99bb3b2cca90e0f758991088b485e2af49b6504f72e13572d822bb2e51849559
BLAKE2b-256 checksum
How to use checksums
3e2812f2929f17b2bb1b817ba146a1af27d823983bbc4b1e8eaf03b1f6556121
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.1-py3-none-any.whl

Download URL jupyterlab_advanced_image_viewer_extension-1.2.1-py3-none-any.whl
Size 238.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59169438ff98f08a58006daf06f9b477041756c849fd262556a59802fa3a43ea
BLAKE2b-256 checksum
How to use checksums
5ba241023eb07cdec6bca15d406cea80a04e3d7d63382c876b0998d6cd47d01f
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.1

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