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 10 months ago
css use normal css, fix path 10 months ago
images Very basic json to html output 10 months ago
.gitignore gitignore 10 months ago
LICENSE aGPLv3 10 months ago
README.md readme 10 months ago
app.js overview and single pages 10 months ago
gallery-generated.json overwrite default on generation 10 months ago
gallery-overview.ejs use normal css, fix path 10 months ago
gallery-single.ejs use normal css, fix path 10 months ago
gallery.json link styling, json fix 10 months ago
generateGallery.js overwrite default 10 months ago
package.json responsive css 10 months ago
shrinkwrap.yaml responsive css 10 months 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.