# sorl-thumbnail

Thumbnails for Django: resize, crop and convert images in templates with Pillow, libvips or ImageMagick, on any storage including Amazon S3

Canonical page: https://www.reposhelf.co.uk/projects/github/mariocesar/sorl-thumbnail.html

- Project ID: mariocesar/sorl-thumbnail
- Source: GitHub
- Original project: https://github.com/mariocesar/sorl-thumbnail
- Description attribution: project author metadata
- Categories: Other
- Technologies: Python
- Licence: BSD-3-Clause
- Repository availability checked: 2026-11-23T14:23:56.659Z
- Demo page loaded: 2026-11-23T16:14:41.843Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Thumbnails for Django. You write the size in the template, or ask for it in Python, and sorl-thumbnail makes the thumbnail on first use with Pillow, libvips or ImageMagick, saves it on your media storage and remembers it in a key-value store, so later renders cost no image work and no storage request.

- Website, with an example gallery for every image engine:
- Resize to a box, a width or a height. Crop by position, percentage, pixels
- or a crop box, crop to the busiest part of the image, or cut plain borders first.
- JPEG, PNG, GIF, WEBP and AVIF output, with quality, progressive JPEG,
- grayscale, padding, rounded corners and blur. Animated GIFs stay animated with Pillow and libvips.

## Author-documented requirements and audience

> Thumbnails for Django. You write the size in the template, or ask for it in Python, and sorl-thumbnail makes the thumbnail on first use with Pillow, libvips or ImageMagick, saves it on your media storage and remembers it in a key-value store, so later renders cost no image work and no storage request.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/mariocesar/sorl-thumbnail/blob/main/README.rst

Extraction checked: 2026-11-02T07:59:54.621Z

Last recorded source update: 2026-11-22T13:33:05.000Z

Saved release: 13.4.0 — 2026-10-25T18:28:26.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=mariocesar%2Fsorl-thumbnail). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
