Using Django + easy-thumbnails / sorl-thumbnail on an elastic beanstalk

I am having problems using Django and easy_thumbnails on Elastic Beanstalk, and I'm not quite sure what is going wrong ... Here is the problem:

I use easy_thumbnails to make my thumbnails in the template. I like the flexibility that gives me, so I would rather not make thumbnails in the model. When I upload an image that it perfectly stores in the database, and is uploaded to it and to the EBS volume. So far, so good. My problem is that I cannot make thumbnails with images. If I turn on thumbnail debugging, it seems that easy_thumbnails is not reading / finding the image. I suspect that this problem may have something to do with the settings of my media resource, but I absolutely do not understand what to change.

Does anyone else have experience with sorl_thumbnail or easy_thumbnails? I would really appreciate any responsibility. On my local development server, my thumbnails work fine.

+5
source share
1 answer

Easy-thumbnails does not have easy support for AmazonS3, you can apply this setting to make it work http://gibuloto.logdown.com/posts/99941-easy-thumbnails-with-amazon-s3

As already mentioned: Django-Storages + Easy_Thumbnails: [Errno 30] Read-only file system

+1
source

All Articles