t* Simple Justified Gallery
URI git clone git://git.codevoid.de/mkpicindex
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit b4e1aed343b0476a09298f6f3143db46bafb78a4
DIR parent 80c5f98c79e9d240f0829eed1995beb0a5a142f9
URI Author: Stefan Hagen <sh+git[at]codevoid[dot]de>
Date: Thu, 24 Oct 2019 09:37:03 +0200
Config Param. for random parameter
Diffstat:
M mkpicindex.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/mkpicindex.sh b/mkpicindex.sh
t@@ -18,6 +18,7 @@ printf '%s' \
# CONFIGURE
GALLERY_TITLE="My Gallery" # browser title
GALLERY_ROW_HEIGHT=150 # how high will the justified rows be?
+GALLERY_RANDOMIZE=true # enable random sorting (true,false)
BODY_STYLE="color:orange; background:black;" # <body style="?">
THUMBNAIL_QUALITY=83 # quality for thumbnails
THUMBNAIL_PATH="thm" # relative path to thumbnail folder
t@@ -101,7 +102,7 @@ printf '%s%s\n' \
\$(\"#base\").justifiedGallery({
rowHeight : $GALLERY_ROW_HEIGHT/0.8,
maxRowHeight : $GALLERY_ROW_HEIGHT,
- randomize : true,
+ randomize : $GALLERY_RANDOMIZE,
waitThumbnailsLoad : false,
lastRow : \"nojustify\",
margins : 3