mirror of https://github.com/thumbsup/thumbsup
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
372 B
JavaScript
23 lines
372 B
JavaScript
var thumbsup = require('../src/index');
|
|
|
|
|
|
thumbsup.build({
|
|
|
|
// the input folder
|
|
// with all photos/videos
|
|
input: 'example/media',
|
|
|
|
// the output folder
|
|
// for the thumbnails and static pages
|
|
output: 'example/website',
|
|
|
|
// size of the square thumbnails
|
|
// in pixels
|
|
thumbSize: 120,
|
|
|
|
// size of the "fullscreen" view
|
|
// in pixels
|
|
largeSize: 400
|
|
|
|
});
|