From 7dde692101a7e36e0a431aeb864cbf3a0c0e96f8 Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 31 Jan 2020 19:43:24 +0100 Subject: compiler: add thumbnail size to index --- design-notes.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'design-notes.md') 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: ], "path": "[resource path]", - "thumbnail": "[resource path | null]", + + "thumbnail": null | { + "resource": "[resource path]", + "resolution": { + "width": 400, + "height": 200 + } + }, "_comment": "type-dependent", -- cgit v1.2.3 From 2766f5f9a491c5f7ebf1eeac1c970daec3656be2 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 25 Feb 2020 16:03:00 +0100 Subject: transverse: combine item tree and gallery-wide properties GitHub: closes #142 --- design-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'design-notes.md') diff --git a/design-notes.md b/design-notes.md index d59f511..0d7b5c1 100644 --- a/design-notes.md +++ b/design-notes.md @@ -234,6 +234,6 @@ By default, the content is rendered in the same ordered as listed in `index.json Items other than directories are displayed by this view, making use of most of the screen space to render the element. -This view should as well display the title, description, date, tags and other information associated to the item. Tags in particular are displayed in a grouped manner as determined in `viewer.json`. +This view should as well display the title, description, date, tags and other information associated to the item. Tags in particular are displayed in a grouped manner as determined in `index.json`. It should be possible to navigate between items of the same directory as the current one through a thumbnail reel and previous/next links. -- cgit v1.2.3