static-image-galery
v1.0.1
Published
Generate thumbnails and a JSON for folders containing images.
Downloads
28
Maintainers
Readme
Static image galery
Generate thumbnails and a JSON for folders containing images.
This is useful to me to generate image galeries from photo albums to publish to Jekyll websites.
For now this is a CLI tool.
Install
$ npm install -g static-image-galeryHow to use it
$ static-image-galery path/to/image/folder/ path/to/jekyll/_data/Command line arguments:
fromfolder: folder with your photostofolder: folder which will receive image thumbnails, default:fromjsonfile: path for the generated JSON data file, default:from+name of "from" foldersmallsize, default: "250x?"bigsize, default: "800x?"
Example:
* static-image-galery ~/Downloads/swl_anglet_190820 assets/swl_anglet_190820/ _data/swl_anglet_190820.json