aboutsummaryrefslogtreecommitdiff
path: root/design-notes.md
diff options
context:
space:
mode:
authorNotkea2020-02-02 20:39:36 +0100
committerGitHub2020-02-02 20:39:36 +0100
commitbd7b62e97ac3fc89be4df9f3bb15af6b3e6c2724 (patch)
treeeb664b38fefc4a8088ae5c10366f52542e021ff5 /design-notes.md
parentce2f0262768bc3d56dd9a776a075c6ccf10a7ae3 (diff)
parent73e2dc5b39a5cd12c52b99ee076c1a1ad86a2ace (diff)
downloadldgallery-bd7b62e97ac3fc89be4df9f3bb15af6b3e6c2724.tar.gz
Merge pull request #74 from pacien/feature-thumbnail-resolution-index
Add thumbnail size to index
Diffstat (limited to 'design-notes.md')
-rw-r--r--design-notes.md9
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",