python - In Django, how to get django-storages, boto and easy_thumbnail to work nicely? -


I am creating a website where files are uploaded through the administrator and store them on Amazon S3 Will give I am using the Djeje storage and beto for this, and it seems that it is working fine.

The thing is, to make thumbnails on the fly side of my easy thumbnail (new shurl. Thumbnail) template side, I like this approach rather than model approach because it allows for easy maintenance If I decide to change the thumbnail size in later date, etc.

But I am feeling that it is stored on Amazon S3 to read the easy-thumbnail image. Besides, I realized, in any way, put thumbnails in the same way? Obviously, I like them also on Amazon S3. But how do I play these two techniques well?

How do I get thumb-thumbnails to store thumbs, which makes it back on Amazon S3? Or am I just looking at all this wrong ?!

Thank you!

Easy-thumbnails You must have an S3-based image thumbnailing - you just settings.THUMBNAIL_DEFAULT_STORAGE needs to be set up, so that easy_thumbnail knows which storage to use (in your case, you probably want to set it up in the same storage for your image field).


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -