diff options
author | pacien | 2020-01-31 19:43:24 +0100 |
---|---|---|
committer | pacien | 2020-01-31 19:43:24 +0100 |
commit | 7dde692101a7e36e0a431aeb864cbf3a0c0e96f8 (patch) | |
tree | c16d53fb67ecad8693b219662a18b67852a19ed2 /design-notes.md | |
parent | 245fee3fe5abdc6ad14513ef6522446aba4c905a (diff) | |
download | ldgallery-7dde692101a7e36e0a431aeb864cbf3a0c0e96f8.tar.gz |
compiler: add thumbnail size to index
Diffstat (limited to 'design-notes.md')
-rw-r--r-- | design-notes.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/design-notes.md b/design-notes.md index 91764cc..d59f511 100644 --- a/design-notes.md +++ b/design-notes.md | |||
@@ -143,7 +143,14 @@ Serialised item structure: | |||
143 | ], | 143 | ], |
144 | 144 | ||
145 | "path": "[resource path]", | 145 | "path": "[resource path]", |
146 | "thumbnail": "[resource path | null]", | 146 | |
147 | "thumbnail": null | { | ||
148 | "resource": "[resource path]", | ||
149 | "resolution": { | ||
150 | "width": 400, | ||
151 | "height": 200 | ||
152 | } | ||
153 | }, | ||
147 | 154 | ||
148 | 155 | ||
149 | "_comment": "type-dependent", | 156 | "_comment": "type-dependent", |