From eba715184416ae47b462e64a9c94fc5dc7b2559f Mon Sep 17 00:00:00 2001 From: "sh+git@codevoid.de" Date: Thu, 24 Oct 2019 07:37:03 +0000 Subject: [PATCH] Config Param. for random parameter --- mkpicindex.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mkpicindex.sh b/mkpicindex.sh index 5f365c8..ebaefcf 100755 --- a/mkpicindex.sh +++ b/mkpicindex.sh @@ -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;" # THUMBNAIL_QUALITY=83 # quality for thumbnails THUMBNAIL_PATH="thm" # relative path to thumbnail folder @@ -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