2

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

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

frnhr
  • 12,354
  • 9
  • 63
  • 90

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
  • 29,351
  • 16
  • 62
  • 74
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,737
  • 5
  • 70
  • 76