Skip to main content

sphinx-thumb-image

Resize images in Sphinx documents/pages to thumbnails.

The purpose of this extension is to save on web storage costs and bandwidth fees, including data rates your visitors may incur from image-heavy documentation. If the fullsize image is not referenced by another image directive it won't be copied into your build's output directory.

  • Python 3.9 through 3.14 supported on Linux, macOS, and Windows.

📖 Full documentation: https://sphinx-thumb-image.readthedocs.io

Github-CI Coverage Status Documentation Status PyPI PyPI Downloads

Quickstart

To install run the following:

pip install sphinx-thumb-image

To use in Sphinx simply add to your conf.py:

extensions = ["sphinx_thumb_image"]

And in your Sphinx documents:

.. thumb-image:: pictures/photo.jpg
    :resize-width: 100px

Metadata

Release files for sphinx-thumb-image 0.4.0

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

Source distribution (sdist)

Source distribution for sphinx-thumb-image 0.4.0
File Size Uploaded Provenance Actions
sphinx_thumb_image-0.4.0.tar.gz 9.1 kB With provenance Details for sphinx_thumb_image-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-thumb-image 0.4.0
File Interpreter ABI Platform Actions
sphinx_thumb_image-0.4.0-py3-none-any.whl Python 3 none any Details for sphinx_thumb_image-0.4.0-py3-none-any.whl

Total release size: 18.4 kB

Release files / sphinx_thumb_image-0.4.0.tar.gz

Download URL sphinx_thumb_image-0.4.0.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
eb9137c1b766bd90101196f692cb867a41faa5c04d78ee7f5e57bf2e6b731de2
BLAKE2b-256 checksum
How to use checksums
c4bffebb0a48572b11547eb0508cfb0f3c5259c6e8c8808b42e3fbd769eb9010
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 30, 2026.

Transparency log

Release files / sphinx_thumb_image-0.4.0-py3-none-any.whl

Download URL sphinx_thumb_image-0.4.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
324933f12c144314ac701989ccbb97a66d2e234da74aa403eb686ae393c3ba97
BLAKE2b-256 checksum
How to use checksums
f119b8ef5140b40555207eead9b32e65ca1cbb1a7dc0de2327a54a11da46d64a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 30, 2026.

Transparency log

Security for sphinx-thumb-image 0.4.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sphinx_thumb_image-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 30, 2026.

Transparency log

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