开发者

Django. Make thumbs pictures

Any simple wa开发者_开发问答y to make thumb pictures automaticaly?


That's basically it.. But here's a good snippet that uses the Python Imaging Library to do what you want:

http://djangosnippets.org/snippets/224/

I've been using it on my app and I have no complaints so far!


Use sorl-thumbnail which provides you some simple but powerful template tags as well!


You can also try photologue, you can resize any photo on the fly and cache the result for next requests

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜