Skip to content
Razvan Tudorica edited this page Dec 20, 2017 · 3 revisions

S3 Gallery is a Python3/Django based image gallery application. The main storage for the images are in Amazon S3. The gallery will browse S3 and it will display the folders and the images.

The gallery needs a (mysql) database in order to keep the track of files and thumbs. Each file can have a thumbnail. The thumbnail name should start with 'thumb_'.

In order to generate the thumbnails, can use the console command: python manage.py makethumbs --bucket <AWS_BUCKET> --start="s3folder/where/to/start"

It will go recursively and for each image it will create near it in S3 a thumbnail called 'thumb_.' where is the name of the original file. It will skip if there is already a file with this name.

You can see it in action here.

Clone this wiki locally