aboutsummaryrefslogtreecommitdiff
path: root/compiler/ldgallery.1.md
diff options
context:
space:
mode:
authorpacien2020-06-16 23:30:32 +0200
committerpacien2020-06-16 23:41:45 +0200
commite27f9a220fd8597266d52934bcb06dbe1681b338 (patch)
treefe6a85b55c252193b7cb7680556ea5fc3ff2131b /compiler/ldgallery.1.md
parent52abb806a3bde6eb69d64564d971efae2cbfda24 (diff)
downloadldgallery-e27f9a220fd8597266d52934bcb06dbe1681b338.tar.gz
compiler: allow setting thumbnails for all items
Not only for directories. GitHub: closes #224
Diffstat (limited to 'compiler/ldgallery.1.md')
-rw-r--r--compiler/ldgallery.1.md20
1 files changed, 11 insertions, 9 deletions
diff --git a/compiler/ldgallery.1.md b/compiler/ldgallery.1.md
index a60a3b1..2fbddc5 100644
--- a/compiler/ldgallery.1.md
+++ b/compiler/ldgallery.1.md
@@ -67,22 +67,24 @@ Available options are:
67 67
68A gallery source directory contains the gallery items and their sidecar metadata files, optionally grouped inside sub-directories. 68A gallery source directory contains the gallery items and their sidecar metadata files, optionally grouped inside sub-directories.
69 69
70Directory thumbnails can be set by placing a picture file named "_directory", with any image file extension, inside of directories. 70Thumbnails can be associated to items by suffixing their name with "_thumbnail", followed by an image file extension.
71Directory thumbnails can be placed within their repsective directories themselves, without any prefix.
71 72
72An example input gallery directory structure could be as follows: 73An example input gallery directory structure could be as follows:
73 74
74``` 75```
75./example-gallery 76./example-gallery
76├── DSC0001.jpg --------- a picture 77├── DSC0001.jpg ----------------- a picture
77├── DSC0001.jpg.yaml ---- its associated sidecar metadata file 78├── DSC0001.jpg.yaml ------------ its associated sidecar metadata file
78├── Some directory ------ a directory grouping gallery items 79├── Some directory -------------- a directory grouping gallery items
79│ ├── _directory.jpg -- a thumbnail for its parent directory 80│ ├── _directory.yaml --------- directory sidecar metadata file
80│ ├── _directory.yaml - directory sidecar metadata file 81│ ├── _thumbnail.jpg ---------- a thumbnail for its parent directory
81│ ├── DSC0002.jpg 82│ ├── DSC0002.jpg
82│ ├── DSC0002.jpg.yaml 83│ ├── DSC0002.jpg.yaml
83│ ├── DSC0003.jpg 84│ ├── song.ogg
84│ └── DSC0003.jpg.yaml 85│ ├── song.ogg.yaml
85└── gallery.yaml -------- gallery settings file 86│ └── song.ogg_thumbnail.jpg -- a thumbnail for song.ogg
87└── gallery.yaml -888------------ gallery settings file
86``` 88```
87 89
88 90