From ee9d82d0b307dee1c9138babf954a3864a0c2f83 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Wed, 12 Feb 2020 00:33:45 +0100 Subject: example: cleaner examples --- example/src/gallery.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 example/src/gallery.yaml (limited to 'example/src/gallery.yaml') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml new file mode 100644 index 0000000..ea23d8a --- /dev/null +++ b/example/src/gallery.yaml @@ -0,0 +1,26 @@ +compiler: + galleryName: Example gallery + + #includedDirectories: ["*"] + #excludedDirectories: [] + + includedFiles: + - "*.jpg" + + #excludedFiles: + #- "*.md" + + tagsFromDirectories: 0 # default + + thumbnailMaxResolution: + width: 400 # default + height: 300 # default + + pictureMaxResolution: + width: 1024 + height: 768 + + #jpegExportQuality: 80 # default + + +viewer: {} -- cgit v1.2.3 From c3c69b601d834c8df7cba88a0d3149b56cdd5d14 Mon Sep 17 00:00:00 2001 From: pacien Date: Mon, 17 Feb 2020 18:10:10 +0100 Subject: example: remove deprecated option --- example/src/gallery.yaml | 2 -- 1 file changed, 2 deletions(-) (limited to 'example/src/gallery.yaml') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index ea23d8a..5efbfef 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -20,7 +20,5 @@ compiler: width: 1024 height: 768 - #jpegExportQuality: 80 # default - viewer: {} -- cgit v1.2.3 From 395a76bc4193c0c7182f87778458a68d0079e836 Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 14 Feb 2020 15:39:56 +0100 Subject: compiler: metadata sidecar for whole directories GitHub: closes #3 --- example/src/gallery.yaml | 2 -- 1 file changed, 2 deletions(-) (limited to 'example/src/gallery.yaml') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index 5efbfef..bef19e0 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -1,6 +1,4 @@ compiler: - galleryName: Example gallery - #includedDirectories: ["*"] #excludedDirectories: [] -- cgit v1.2.3 From 68899f0c1ba4f641c376fda1e51d9694b02b9c5d Mon Sep 17 00:00:00 2001 From: pacien Date: Mon, 17 Feb 2020 18:09:20 +0100 Subject: compiler: add a prefix setting for tags generated from parent dirs GitHub: closes #59 --- example/src/gallery.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'example/src/gallery.yaml') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index bef19e0..3408571 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -8,7 +8,9 @@ compiler: #excludedFiles: #- "*.md" - tagsFromDirectories: 0 # default + tagsFromDirectories: + fromParents: 0 # default + prefix: "" # default thumbnailMaxResolution: width: 400 # default -- cgit v1.2.3 From e42f4e864bac21ed3b19d1869df2cdd4f8c3433c Mon Sep 17 00:00:00 2001 From: pacien Date: Sat, 22 Feb 2020 14:53:03 +0100 Subject: compiler: flatten gallery config GitHub: closes #129 --- example/src/gallery.yaml | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) (limited to 'example/src/gallery.yaml') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index 3408571..b25b657 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -1,24 +1,22 @@ -compiler: - #includedDirectories: ["*"] - #excludedDirectories: [] +# ldgallery example gallery configuration file - includedFiles: - - "*.jpg" - - #excludedFiles: - #- "*.md" +#includedDirectories: ["*"] +#excludedDirectories: [] - tagsFromDirectories: - fromParents: 0 # default - prefix: "" # default +includedFiles: + - "*.jpg" - thumbnailMaxResolution: - width: 400 # default - height: 300 # default +#excludedFiles: +# - "*.md" - pictureMaxResolution: - width: 1024 - height: 768 +tagsFromDirectories: + fromParents: 0 # default + prefix: "" # default +thumbnailMaxResolution: + width: 400 # default + height: 300 # default -viewer: {} +pictureMaxResolution: + width: 1024 + height: 768 -- cgit v1.2.3 From b468dcbf3343ea251703078ec89d3215116fc2f6 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 25 Feb 2020 19:25:16 +0100 Subject: compiler: re-introduce gallery title --- example/src/gallery.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'example/src/gallery.yaml') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index b25b657..d2f90aa 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -1,5 +1,7 @@ # ldgallery example gallery configuration file +#galleryTitle: "ldgallery" + #includedDirectories: ["*"] #excludedDirectories: [] -- cgit v1.2.3 From c7fa5bd40d0e5c9ea50190a90a0ccfee8ad96c25 Mon Sep 17 00:00:00 2001 From: pacien Date: Thu, 27 Feb 2020 21:05:51 +0100 Subject: viewer: use colon as tag separator instead of dot For consistency with the query language and allowing the use of the very common dot in tags. This also introduces a migration script. GitHub: closes #164 --- example/src/gallery.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example/src/gallery.yaml') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index d2f90aa..c4a5077 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -6,14 +6,14 @@ #excludedDirectories: [] includedFiles: - - "*.jpg" + - '*.jpg' #excludedFiles: # - "*.md" tagsFromDirectories: fromParents: 0 # default - prefix: "" # default + prefix: '' # default thumbnailMaxResolution: width: 400 # default -- cgit v1.2.3 From f09e9d9fa29284bd9ae872efe5ba1d526e349011 Mon Sep 17 00:00:00 2001 From: pacien Date: Wed, 26 Feb 2020 22:13:00 +0100 Subject: compiler: add tag inclusion and exclusion globs GitHub: closes #30 --- example/src/gallery.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'example/src/gallery.yaml') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index c4a5077..dba6b39 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -11,13 +11,16 @@ includedFiles: #excludedFiles: # - "*.md" -tagsFromDirectories: - fromParents: 0 # default - prefix: '' # default +#includedTags: ["*"] +#excludedTags: [] -thumbnailMaxResolution: - width: 400 # default - height: 300 # default +#tagsFromDirectories: +# fromParents: 0 +# prefix: '' + +#thumbnailMaxResolution: +# width: 400 +# height: 300 pictureMaxResolution: width: 1024 -- cgit v1.2.3 From 54790c6c73d7c51ff22cf5e9722b141cdc0249df Mon Sep 17 00:00:00 2001 From: pacien Date: Sat, 29 Feb 2020 16:39:55 +0100 Subject: compiler: add tagCategories setting to gallery.yaml --- example/src/gallery.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'example/src/gallery.yaml') diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml index dba6b39..b569910 100644 --- a/example/src/gallery.yaml +++ b/example/src/gallery.yaml @@ -14,6 +14,10 @@ includedFiles: #includedTags: ["*"] #excludedTags: [] +tagCategories: + - photographer + - location + #tagsFromDirectories: # fromParents: 0 # prefix: '' -- cgit v1.2.3