2

Is there a TimThumb - like script for Django/Python?

It's a image crop&rezise&cache script. Simple but very effective, imho.

frnhr
  • 11,308
  • 9
  • 55
  • 83

2 Answers2

5

This is a good django-app for that

http://thumbnail.sorl.net/

from sorl.thumbnail import get_thumbnail

im = get_thumbnail(my_file, '100x100', crop='center', quality=99)
diegueus9
  • 25,502
  • 16
  • 59
  • 73
2

You should take a closer look at easy_thumbnails. It should do what you want.

And you can find more django related image tools in this grid on django packages: http://djangopackages.com/grids/g/photos/

arie
  • 18,135
  • 5
  • 68
  • 76