skillfed

easy-thumbnails

Easy thumbnails for Django

easy-thumbnails v2.10.1 526.2K downloads/30d#6,180 on PyPI1,410
Permissive license Active released

What it is and what it does

Easy Thumbnails is a Django application that automates image thumbnail generation and caching. It wraps pillow to handle resizing, cropping, and quality adjustment of images stored in Django file fields or uploaded through forms. The package supports predefined thumbnail aliases in settings, allowing templates and Python code to reference thumbnails by name rather than repeating size and crop parameters. It also includes a ThumbnailerImageField for model integration and experimental support for SVG thumbnailing via a PIL-compatible emulation layer.

The package is designed to reduce boilerplate in Django projects that need multiple thumbnail sizes of the same image. Thumbnails are cached after generation, avoiding repeated processing. Recent versions added support for animated formats and improved ICC profile preservation, making it suitable for photography and media-heavy applications.

Use it for:

  • Generate user avatar thumbnails at fixed sizes in Django user profile systems
  • Create multiple thumbnail sizes for product images in e-commerce applications
  • Cache and serve responsive image variants for different page layouts
  • Preserve SVG images while providing thumbnail metadata for template rendering
  • Manage thumbnail cleanup and regeneration via Django management commands

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Generates and manages thumbnail images for Django applications, supporting multiple formats with configurable cropping, scaling, and quality options.

Yes. Easy Thumbnails is actively maintained, supports current Django and Python versions, has no known vulnerabilities, and solves a common Django problem with low install friction. The permissive BSD license poses no restrictions. Install it if you need thumbnail generation in a Django project and want to avoid writing custom image-processing logic.

Install

easy-thumbnails on PyPI

pip

pip install easy-thumbnails

uv

uv add easy-thumbnails

poetry

poetry add easy-thumbnails

Installing easy-thumbnails

Before you install

Low friction installation as a pure Python wheel. Actively maintained with recent Django 5.2 support added in version 2.10.1 (2025-08-17). Repository shows 1410 stars and recent commits.

License in practice

Licensed under BSD (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install easy-thumbnails

# Add to Django INSTALLED_APPS, then run: manage.py migrate easy_thumbnails

from easy_thumbnails.files import get_thumbnailer
options = {'size': (50, 50), 'crop': True}
thumb_url = get_thumbnailer(image_file).get_thumbnail(options).url

Requires Django 4.2+ and Python 3.9+. Pillow is a runtime dependency for image processing.

Verify before relying

  • Whether SVG support via the [svg] extra is production-ready beyond the stated 'experimental' status
  • Performance characteristics when processing large batches of images or very large source files
  • Compatibility with all Django storage backends beyond the documented 4.2 storages support

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 2 — django, pillow
Maintenance actively maintained — 362 days since the last release
Last repo commit
First released
Downloads 526,181/month — #6,180 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: easy_thumbnails-2.10.1-py3-none-any.whl

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.1Framework :: Django :: 5.2Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python Modules

Tags

django image thumbnailinggenerate thumbnails djangoimage resizing djangocrop and scale imagesdjango thumbnail managementsvg thumbnail supportdjango image caching
django-integrationimage-processing

More Python Modules packages