diff options
Diffstat (limited to 'viewer')
-rw-r--r-- | viewer/ldgallery-viewer.7.md | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/viewer/ldgallery-viewer.7.md b/viewer/ldgallery-viewer.7.md index da3be76..59a9f49 100644 --- a/viewer/ldgallery-viewer.7.md +++ b/viewer/ldgallery-viewer.7.md | |||
@@ -2,7 +2,7 @@ | |||
2 | pagetitle: Viewer user manual - ldgallery | 2 | pagetitle: Viewer user manual - ldgallery |
3 | title: LDGALLERY-VIEWER(7) ldgallery | 3 | title: LDGALLERY-VIEWER(7) ldgallery |
4 | author: Pacien TRAN-GIRARD, Guillaume FOUET | 4 | author: Pacien TRAN-GIRARD, Guillaume FOUET |
5 | date: 2020-02-16 (v0.1.0.0-SNAPSHOT) | 5 | date: 2020-04-05 (v0.1.0.0-SNAPSHOT) |
6 | --- | 6 | --- |
7 | 7 | ||
8 | 8 | ||
@@ -15,24 +15,29 @@ ldgallery viewer - a static web gallery viewer with tags | |||
15 | 15 | ||
16 | The ldgallery viewer is a web application that allows users to browse, search through and view items in galleries generated by the ldgallery(1) compiler. | 16 | The ldgallery viewer is a web application that allows users to browse, search through and view items in galleries generated by the ldgallery(1) compiler. |
17 | 17 | ||
18 | The web application runs in a JavaScript-enabled web browser and does not require any special software on the server's side. Its responsiveness allows it to be used from either a desktop browser or some mobile device. | 18 | The web application runs in a JavaScript-enabled web browser and does not require any special software on the server's side. |
19 | Its responsiveness allows it to be used from either a desktop browser or some mobile device. | ||
19 | 20 | ||
20 | 21 | ||
21 | # USER INTERFACE | 22 | # USER INTERFACE |
22 | 23 | ||
23 | The viewer's user interface is split into a main item view and a side search panel, which can be opened by using the appropriate button in the toolbar at the top-left corner. | 24 | The viewer's user interface is split into a main item view and a side search panel, |
25 | which can be opened by using the appropriate button in the toolbar at the top-left corner. | ||
24 | 26 | ||
25 | The main view displays the gallery's directories and items as a thumbnail grid. | 27 | The main view displays the gallery's directories and items as a thumbnail grid. |
26 | 28 | ||
27 | The side panel allows the user to interactively enter filtering queries to search through the gallery's content. This panel features a list of relevant tags that can be used to build the search query. | 29 | The side panel allows the user to interactively enter filtering queries to search through the gallery's content. |
30 | This panel features a list of relevant tags, grouped by categories, that can be used to build the search query. | ||
28 | 31 | ||
29 | Picture items can be opened and visualised within the application. Other types of elements are either downloaded or displayed in the same window depending on the user's web browser supported media types. | 32 | Picture items can be opened and visualised within the application. |
33 | Other types of elements are either downloaded or displayed in the same window depending on the user's web browser supported media types. | ||
30 | 34 | ||
31 | 35 | ||
32 | # SEARCH QUERIES | 36 | # SEARCH QUERIES |
33 | 37 | ||
34 | Items can be filtered based on their tags. | 38 | Items can be filtered based on their tags. |
35 | Adding tags to the search query restricts the search results to items having those tags. | 39 | Adding tags to the search query restricts the search results to items having those tags. |
40 | Tags which belong to multiple categories may be disambiguated by adding their category as a prefix, separated by a colon (":"). | ||
36 | 41 | ||
37 | The following modifiers can be used in queries as prefixes of tags: | 42 | The following modifiers can be used in queries as prefixes of tags: |
38 | 43 | ||
@@ -44,13 +49,14 @@ The following modifiers can be used in queries as prefixes of tags: | |||
44 | : Exclude all items having the associated tag, | 49 | : Exclude all items having the associated tag, |
45 | independently of simple tag restrictions and inclusions. | 50 | independently of simple tag restrictions and inclusions. |
46 | 51 | ||
47 | 52 | Autocompletion suggestions are shown as filters are being typed in the query field. | |
48 | <!-- TODO: document tag groups and disambiguation once they're fully implemented (#29) --> | 53 | In the case of disambiguated tags, both the category and the tag components are allowed to be partially entered, |
54 | allowing "loc:fra" to expand into "location:france" for example. | ||
49 | 55 | ||
50 | 56 | ||
51 | # VIEWER CONFIGURATION | 57 | # VIEWER CONFIGURATION |
52 | 58 | ||
53 | The viewer itself can be configured through a JSON file named `config.json` and placed in the web viewer's directory. | 59 | The viewer itself can be configured through a JSON file named "config.json" and placed in the web viewer's directory. |
54 | 60 | ||
55 | galleryRoot | 61 | galleryRoot |
56 | : Absolute or relative path to the root of the gallery to display. | 62 | : Absolute or relative path to the root of the gallery to display. |
@@ -58,9 +64,11 @@ galleryRoot | |||
58 | 64 | ||
59 | # PROGRESSIVE WEB APPLICATION | 65 | # PROGRESSIVE WEB APPLICATION |
60 | 66 | ||
61 | This web application can be "installed" on some user's mobile device as a progressive web application, i.e. a shortcut giving the web page the appearance of a native application. | 67 | This web application can be "installed" on some user's mobile device as a progressive web application, |
68 | i.e. a shortcut giving the web page the appearance of a native application. | ||
62 | 69 | ||
63 | This feature can be enabled by adding a PWA manifest in the viewer's directory when deployed. An example of such manifest and an associated icon are available in the example folder packaged with the viewer. | 70 | This feature can be enabled by adding a PWA manifest in the viewer's directory when deployed. |
71 | An example of such manifest and an associated icon are available in the example folder packaged with the viewer. | ||
64 | 72 | ||
65 | 73 | ||
66 | # SEE ALSO | 74 | # SEE ALSO |
@@ -71,4 +79,5 @@ Copyright (C) 2019-2020 Pacien TRAN-GIRARD and Guillaume FOUET. | |||
71 | 79 | ||
72 | This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. | 80 | This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. |
73 | 81 | ||
74 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details <https://www.gnu.org/licenses/agpl-3.0.html>. | 82 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
83 | See the GNU Affero General Public License for more details <https://www.gnu.org/licenses/agpl-3.0.html>. | ||