|
|
|
@ -71,6 +71,8 @@ And you can optionally specify:
|
|
|
|
|
- `--title [text]` website title (default: `Photo gallery`)
|
|
|
|
|
- `--thumb-size [pixels]` thumbnail image size (default: `120`)
|
|
|
|
|
- `--large-size [pixels]` fullscreen image size (default: `1000`)
|
|
|
|
|
- `--original-photos [true|false]` to allow download of full-size photos (default: `false`)
|
|
|
|
|
- `--original-videos [true|false]` to allow download of full-size videos (default: `false`)
|
|
|
|
|
- `--sort-folders [name|date]` how to sort the folders/galleries (default: `date`)
|
|
|
|
|
- `--css [file]` styles to be applied on top of the default theme (no default)
|
|
|
|
|
- `--google-analytics [code]` code for Google Analytics tracking (no default)
|
|
|
|
@ -79,7 +81,7 @@ And you can optionally specify:
|
|
|
|
|
For example:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
thumbsup --input "/media/photos" --output "./website" --title "My holidays" --thumb-size 200 --large-size 1500 --sort-folders date --css "./custom.css" --google-analytics "UA-999999-9"
|
|
|
|
|
thumbsup --input "/media/photos" --output "./website" --title "My holidays" --thumb-size 200 --large-size 1500 --full-size-photos true --sort-folders date --css "./custom.css" --google-analytics "UA-999999-9"
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
You can also save all your arguments to a `JSON` file:
|
|
|
|
@ -97,6 +99,8 @@ thumbsup --config config.json
|
|
|
|
|
"title": "My holiday",
|
|
|
|
|
"thumb-size": 200,
|
|
|
|
|
"large-size": 1500,
|
|
|
|
|
"original-photos": true,
|
|
|
|
|
"original-videos": false,
|
|
|
|
|
"sort-folders": "date",
|
|
|
|
|
"css": "./custom.css",
|
|
|
|
|
"google-analytics": "UA-999999-9"
|
|
|
|
|