t* Simple Justified Gallery
URI git clone git://git.codevoid.de/mkpicindex
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 89d7a45382d8f84d6d8e4ab0d50989247d051271
DIR parent 8cf827634de2ea343860f404dfe6e57b0eff4a42
URI Author: Stefan Hagen <sh+git[at]codevoid[dot]de>
Date: Sun, 27 Oct 2019 19:24:31 +0100
Support more formats, change defaults
Diffstat:
M mkpicindex-static.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
DIR diff --git a/mkpicindex-static.sh b/mkpicindex-static.sh
t@@ -11,7 +11,7 @@ printf '%s' \
# CONFIGURE
TITLE="My Gallery" # browser title
-WIDTH=850 # how wide will the gallery be
+WIDTH=1000 # how wide will the gallery be
ROW_HEIGHT=180 # how high will the justified rows be?
THUMB_QUALITY=83 # quality for thumbnails
THUMB_PATH="thm" # relative path to thumbnail folder
t@@ -19,7 +19,7 @@ THUMB_PADDING="6" # image padding
# TECHNICAL STUFF
DEBUG=0 # debug output
-THREADS=4
+THREADS=8
# PRINT HELP / USAGE TEXT
usage() {
t@@ -213,7 +213,7 @@ do
if [ -f "$F" ];
then
case "$(printf '%s' ${F##*.} | tr '[:upper:]' '[:lower:]')" in
- jpg|jpeg|png|gif) add_image "$F" ;;
+ jpg|jpeg|png|gif|cr2|dng|nef) add_image "$F" ;;
*) console "Ignoring: $F" ;;
esac
fi