Search code examples
djangodjango-adminamazon-s3botodjango-imagekit

How to integrate imagekit with S3


I would like to upload from django admin app photos to S3 and associate them with my model. I have found imagekit very appropriate for this. How can I configure imegekit to upload photos to S3 server?


Solution

  • Have you tried django-athumb, this will do exactly you want.

    Features:

    • Primary advantage of django-athumb is, thumbnails are generated at the time of user uploading the original image. Instead of generating thumbs on-demand and making the user wait, we get that out of the way from the beginning.
    • Written on sorl-thumbnail's code
    • Simple and easy to install
    • This may be ran on your own hardware with decent speed. Running it on EC2 makes it just that much faster.