The sorl-thumbnail package provides an easy way to generate image
thumbnails.
Some of its features:
- Storage support
- Pluggable Engine support for Pillow, GraphicsMagick, ImageMagick and Wand
- Pluggable Key Value Store support (cached db and redis)
- Pluggable Backend support
- Admin integration with possibility to delete
- Dummy generation (placeholders)
- Flexible, simple syntax, generates no html
- ImageField for model that deletes thumbnails
- CSS style cropping options
- Back smart cropping, and remove borders from the images when cropping
- Margin calculation for vertical positioning
- Alternative resolutions versions of a thumbnail
===> The following configuration options are available for py312-dj52-sorl-thumbnail-13.0.0:
DOCS=on: Build and/or install documentation
====> Options available for the group CACHING
REDIS=off: Use REDIS as Key Value Store
====> Options available for the single IMAGELIB: you have to select exactly one of them
GRAPHICSMAGICK=off: Use GraphicsMagick for image processing (faster)
IMAGEMAGICK=off: Use ImageMagick for image processing
PILLOW=on: Use internal image processing
WAND=off: Use Wand with ImageMagick
===> Use 'make config' to modify these settings
*/py-dj52*: Deprecate/Set to expire
* The counterparts of the py-dj52-* ports were switched to Django 5.2 in
ce59801b72ef, so the py-dj52-* ports have no more consumers and are
now obsolete.
* Set a relatively short EXPIRATION_DATE toward the end of June to wrap
up things neatly before the 2026Q3 branch.
PR: 291707
With hat: python
*: Revise USES=python:... version range constraints
and strip all lower bounds of 3.9 or 3.10 because they are implied now.
python:3.9-X -> python:-X
python:3.9+ -> python
python:3.10-X -> python:-X
python:3.10+ -> python
(options such as ,build preserved)
graphics/py-dj52-sorl-thumbnail: New port
The sorl-thumbnail package provides an easy way to generate image
thumbnails.
Some of its features:
- Storage support
- Pluggable Engine support for Pillow, GraphicsMagick, ImageMagick and Wand
- Pluggable Key Value Store support (cached db and redis)
- Pluggable Backend support
- Admin integration with possibility to delete
- Dummy generation (placeholders)
- Flexible, simple syntax, generates no html
- ImageField for model that deletes thumbnails
- CSS style cropping options
- Back smart cropping, and remove borders from the images when cropping
- Margin calculation for vertical positioning
- Alternative resolutions versions of a thumbnail
This is a Django 5.2.X specific clone.