You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
f0x e450cf10c2 use normal css, fix path 1 year ago
css use normal css, fix path 1 year ago
images Very basic json to html output 1 year ago
.gitignore gitignore 1 year ago
LICENSE aGPLv3 1 year ago
README.md readme 1 year ago
app.js overview and single pages 1 year ago
gallery-generated.json overwrite default on generation 1 year ago
gallery-overview.ejs use normal css, fix path 1 year ago
gallery-single.ejs use normal css, fix path 1 year ago
gallery.json link styling, json fix 1 year ago
generateGallery.js overwrite default 1 year ago
package.json responsive css 1 year ago
shrinkwrap.yaml responsive css 1 year ago

README.md

Gallery

This NodeJS project will take the gallery.json file and compile a static-file, pure html gallery. It spits out an overview page at build/index.html, which links to the single-image pages in build/gallery${INDEX}.html files

Running this

Install dependencies with npm install run node app.js to compile

The JSON file

Each ‘piece’ has a mandatory title and src tag. You can put any key/value pair in meta, it will be copied straight to the box in the bottom right corner of the single-image page.