From a524bc557ee154d5880153d9b8da680e0b5f3e85 Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 2 Feb 2020 20:58:10 +0100 Subject: compiler: tweak default thumbnail size For better packing. --- compiler/src/Config.hs | 2 +- example/gallery.yaml | 2 +- ldgallery.1.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/src/Config.hs b/compiler/src/Config.hs index d670aae..4c9aa40 100644 --- a/compiler/src/Config.hs +++ b/compiler/src/Config.hs @@ -51,7 +51,7 @@ instance FromJSON CompilerConfig where <*> v .:? "includedFiles" .!= ["*"] <*> v .:? "excludedFiles" .!= [] <*> v .:? "tagsFromDirectories" .!= 0 - <*> v .:? "thumbnailMaxResolution" .!= (Resolution 400 400) + <*> v .:? "thumbnailMaxResolution" .!= (Resolution 400 300) <*> v .:? "pictureMaxResolution" diff --git a/example/gallery.yaml b/example/gallery.yaml index dfb6265..ea23d8a 100644 --- a/example/gallery.yaml +++ b/example/gallery.yaml @@ -14,7 +14,7 @@ compiler: thumbnailMaxResolution: width: 400 # default - height: 400 # default + height: 300 # default pictureMaxResolution: width: 1024 diff --git a/ldgallery.1.md b/ldgallery.1.md index 8784fb2..5612cbf 100644 --- a/ldgallery.1.md +++ b/ldgallery.1.md @@ -115,7 +115,7 @@ compiler.thumbnailMaxResolution.width : Maximum width in pixels of the item thumbnails, 400 by default. compiler.thumbnailMaxResolution.height -: Maximum height in pixels of the item thumbnails, 400 by default. +: Maximum height in pixels of the item thumbnails, 300 by default. compiler.pictureMaxResolution.width : Maximum width in pixels of the picture items, unlimited by default. -- cgit v1.2.3