Image albums and gallery with local filesystem, imgur, and flickr support. Powered by wok, a static website generator.
Authors:
Requirements (through pip):
- PIL
- requests
- wok
Sriracha is hot!
Run wok
or wok --server
to generate the site.
Albums are folders located in media/img/gallery/
.
Store images in the album folder.
The name of the album folder must match the slug in the album's .mkd
content file in content/gallery
.
Albums are albums created on imgur.com
.
Create a imgur client key and store in hooks/config.py
in IMGUR_CLIENT_ID
.
In the album's .mkd
content file in content/gallery
, set the
source
to imgur
. Set the album-id
to the album slug from
imgur.
Albums are photosets created on flickr.com
.
Create a flickr client key and store in hooks/config.py
in FLICKR_CLIENT_ID
.
In the album's .mkd
content file in content/gallery
, set the
source
to flickr
. Set the album-id
to the photoset ID from
flickr.