Public | Automated Build

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description


Image gallery and rating server.

tornado-gallery serves a specified directory structure containing images / galleries to modern web browsers.

Current Features:

  • Images are resized or served from cache on the fly to minimize bandwidth usage.
  • Image ratings are displayed and stored back in image xmp section.
  • Asynchronous request handling, resizing of images in multiple processes.
  • Preloading of next and previous image in browser.

Technical Information

The backend is based on tornado web framwork from facebook/friendfeed.
Pillow is used for image editing while python-xmp-toolkit is employed to read/write metadata.
Polymer is used for the frontend.

Basic Installation

  • Make sure that exempi library used by python-xmp-toolkit is installed (e.g. via brew or apt). Further bower (and nodejs) is requiered to fetch the frontend.
  • Create a python virtualenv and install (dev-)requirements.txt
  • Create wrapper script via python develop or start in tgallery package.
  • bower install fetches frontend dependencies
  • Navigate to http://localhost:1234/

... or use the Dockerfile to create a docker image.

Running as docker container

Pull image via docker pull martinhoefling/tornado-gallery, then start container

docker run -ti -v /home/martin/Pictures:/gallery martinhoefling/tornado-gallery

ToDo / missing features:

  • Image Cache Cleanup
  • Authentication
Docker Pull Command
Source Repository