Sidebar Network

sorl-thumbnail Thumbnails for Django.

The Basics

An aim to create the perfect thumbnail creation utility for Django.

  • Scaling, setting max width and max height
  • Cropping of image to fit specified size
  • Upscaling of image if it is too small
  • Quality setting projectwise and/or per image
  • Simple debugging
  • Sharpening
  • Add detail
  • Grayscale
  • Autocrop of white edges
  • Get thumbnail as context variable
  • Get dimensions and filesize
  • Easy custom setting of prefix/path
  • PDF and M$ Word Doc thumbnail support
Project Homehttp://code.google.com/p/sorl-thumbnail/
Grab the Repository – svn checkout http://sorl-thumbnail.googlecode.com/svn/trunk/
 

Recent Commits

  • 449 was committed 1 week ago.
    Fix #57 - thanks for the patch, gonzalosaavedra
  • 448 was committed 1 week ago.
    Another small docstring fix.
  • 447 was committed 1 week ago.
    Add a description to the start of the thumbnail tag docstring.
  • 446 was committed 4 months, 2 weeks ago.
    Added a setup.py to install sorl-thumbnail.
  • 445 was committed 4 months, 3 weeks ago.
    Stop Django templates from choking if something goes wrong (when using ImageWithThumbnailsFieldFile)
  • 436 was committed 7 months, 1 week ago.
    Produce thumbnails of different filetypes than the default JPEG
  • 435 was committed 7 months, 3 weeks ago.
    Fix #47: Can’t use normal ImageField positional arguments
  • 434 was committed 8 months, 3 weeks ago.
    Minor doc formatting fixes
  • 433 was committed 8 months, 3 weeks ago.
    A test to show non-existant files don’t choke utils (already passed, but someone was asking about it)
  • 432 was committed 8 months, 3 weeks ago.
    ImageWithThumbnailsField now cleans up any related thumbnails when the source image is deleted