Skip to main content

jupyterlab_fit_image_size_extension

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

Automatically scales images to fit within the view when they exceed container dimensions, while preserving original size for smaller images. Applies to both raster formats (PNG, JPG) and vector formats (SVG).

Full disclosure: This extension is mass-produced mediocrity at its finest. It does one thing that probably should have been a default setting. No configuration, no options, no preferences panel - just CSS that your browser was already capable of applying. You're essentially installing a stylesheet. Revolutionary. We're almost ashamed of it. Almost.

Features

  • Automatic image scaling - Large images are scaled down to fit within view boundaries
  • Preserves small images - Images smaller than container remain at original size
  • Raster format support - Works with PNG, JPG, GIF, and other raster formats
  • Vector format support - SVG images also respect container bounds
  • Notebook outputs - Handles images in code cell outputs
  • Markdown cells - Images in markdown cells are also scaled
  • Standalone viewer - Works when opening image files directly in JupyterLab
  • Zero configuration - Just install and forget

Installation

Requires JupyterLab 4.6.0 or higher.

pip install jupyterlab_fit_image_size_extension

Uninstall

pip uninstall jupyterlab_fit_image_size_extension

License

BSD-3-Clause

Metadata

Release files for jupyterlab-fit-image-size-extension 1.0.9

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-fit-image-size-extension 1.0.9
File Size Uploaded Provenance Actions
jupyterlab_fit_image_size_extension-1.0.9.tar.gz 196.4 kB Without provenance Details for jupyterlab_fit_image_size_extension-1.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-fit-image-size-extension 1.0.9
File Interpreter ABI Platform Actions
jupyterlab_fit_image_size_extension-1.0.9-py3-none-any.whl Python 3 none any Details for jupyterlab_fit_image_size_extension-1.0.9-py3-none-any.whl

Total release size: 224.1 kB

Release files / jupyterlab_fit_image_size_extension-1.0.9.tar.gz

Download URL jupyterlab_fit_image_size_extension-1.0.9.tar.gz
Size 196.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7e5dd7277d28f4ad11a3e7c85dc311090546fb3ad0ce54557182f069e2c6013d
BLAKE2b-256 checksum
How to use checksums
e0f724663567f086b11387f1e77482e52bf3bd6f6592601e8237927067ae0a1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jupyterlab_fit_image_size_extension-1.0.9-py3-none-any.whl

Download URL jupyterlab_fit_image_size_extension-1.0.9-py3-none-any.whl
Size 27.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
939ef99aa787ab90f93a2dc89fbb131213637722130a916af056aeb15d478aa6
BLAKE2b-256 checksum
How to use checksums
2592b023f49066e4ded7c1da9844442a20cd537a217d8af8548f6252288b0842
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for jupyterlab-fit-image-size-extension 1.0.9

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