Skip to content

code-on/sorl-thumbnail

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sorl-thumbnail

Thumbnails for Django. Totally rewritten.

Features at a glance

  • Storage support
  • Pluggable Engine support (ImageMagick, PIL, pgmagick included)
  • Pluggable Key Value Store support (cached db, 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
  • Margin calculation for vertical positioning

Read more in the documentation (latest version)

Usage

Everything documented here: http://thumbnail.sorl.net/ and:

<img src="{% thumbnail obj.image "200x150" crop="center" %}"/>

About

The original and the best

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%