A static photo album generator written in node.js
Switch branches/tags
Nothing to show
Clone or download
billiob mkdir output directory in setup
This makes the render function work given images and a configuration
generated elsewhere
Latest commit 1f008bc Jan 29, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
htdocs no panorama if image is unknown Aug 26, 2017
.gitignore add /node_modules to .gitignore Jul 18, 2013
README.md no need for the makefile Jul 12, 2017
genTestImages.sh genTestImages.sh: create in/ Jun 26, 2017
photoalbum.js mkdir output directory in setup Jan 29, 2018
translations.json add possibility for pages in the editor Jul 18, 2015


PhotoAlbum.js is a simple photo album generator written using node.js.

The main goal is to produce static files to put on a simple web-server and be able to write legends below the images.

Node.js modules required:

  • imagemagick,
  • mime.

It uses:

  • jquery,
  • markdown.js,
  • tipsy.js,
  • jquery-ui, only for the editor.

The background can be found at http://subtlepatterns.com/black-paper/ . The icons were generated from the ones at http://raphaeljs.com/icons/ .

How to use it

  1. Install the node.js modules;
  • npm install imagemagick
  • npm install mime
  1. Have all your images in a directory in
  2. Generate a configuration file:
./photoalbum.js config in/ config.json
  1. Generate the editor from that configuration file:
./photoalbum.js editor config.json
  1. Launch the server to edit the configuration file:
./photoalbum.js server config.json
  1. Open your brower at http://localhost:8080/editor.html and edit your pictures.
  2. Render all the files:
./photoalbum.js render config.json

Your photoalbum is in the output directory you configured in the editor.