diff options
author | pacien | 2019-12-21 06:36:30 +0100 |
---|---|---|
committer | pacien | 2019-12-21 06:36:30 +0100 |
commit | 2a69fb14ba65909a3abb51406a07791eeaa55809 (patch) | |
tree | e36deed21df5f2c0aea9cc99b15bfdba49da7063 /example | |
parent | d765dc84066b955b6eac488acdd6051645f969a0 (diff) | |
download | ldgallery-2a69fb14ba65909a3abb51406a07791eeaa55809.tar.gz |
example: aggregate tags and move filesize field
Diffstat (limited to 'example')
-rw-r--r-- | example/index.json | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/example/index.json b/example/index.json index 3a1d841..eef35c7 100644 --- a/example/index.json +++ b/example/index.json | |||
@@ -4,8 +4,20 @@ | |||
4 | "title": "", | 4 | "title": "", |
5 | "date": "", | 5 | "date": "", |
6 | "description": "", | 6 | "description": "", |
7 | "tags": [], | 7 | "tags": [ |
8 | "filesize": 0, | 8 | "photographer.nphilou", |
9 | "location.germany.berlin", | ||
10 | "books", | ||
11 | "book-shop" | ||
12 | "location.switzerland.ormont-dessus", | ||
13 | "glacier3000", | ||
14 | "time.day", | ||
15 | "weather.foggy", | ||
16 | "forest", | ||
17 | "trees", | ||
18 | "catwalk", | ||
19 | "mountain" | ||
20 | ], | ||
9 | "path": "/", | 21 | "path": "/", |
10 | "thumbnail": { "path": "/thumbnails/_DSC8808-1.jpg" }, | 22 | "thumbnail": { "path": "/thumbnails/_DSC8808-1.jpg" }, |
11 | "properties": { | 23 | "properties": { |
@@ -21,11 +33,11 @@ | |||
21 | "books", | 33 | "books", |
22 | "book-shop" | 34 | "book-shop" |
23 | ], | 35 | ], |
24 | "filesize": 987, | ||
25 | "path": "/items/_DSC8808-1.jpg", | 36 | "path": "/items/_DSC8808-1.jpg", |
26 | "thumbnail": { "path": "/thumbnails/_DSC8808-1.jpg" }, | 37 | "thumbnail": { "path": "/thumbnails/_DSC8808-1.jpg" }, |
27 | "properties": { | 38 | "properties": { |
28 | "type": "image", | 39 | "type": "image", |
40 | "filesize": 987, | ||
29 | "resolution": { "width": 3840, "height": 2160 }, | 41 | "resolution": { "width": 3840, "height": 2160 }, |
30 | } | 42 | } |
31 | }, | 43 | }, |
@@ -33,8 +45,17 @@ | |||
33 | "title": "Glacier 3000", | 45 | "title": "Glacier 3000", |
34 | "date": "", | 46 | "date": "", |
35 | "description": "", | 47 | "description": "", |
36 | "tags": [], | 48 | "tags": [ |
37 | "filesize": 0, | 49 | "photographer.nphilou", |
50 | "location.switzerland.ormont-dessus", | ||
51 | "glacier3000", | ||
52 | "time.day", | ||
53 | "weather.foggy", | ||
54 | "forest", | ||
55 | "trees", | ||
56 | "catwalk", | ||
57 | "mountain" | ||
58 | ], | ||
38 | "path": "/items/Glacier 3000", | 59 | "path": "/items/Glacier 3000", |
39 | "thumbnail": { "path": "/thumbnails/Glacier 3000/_DSC5475.jpg" }, | 60 | "thumbnail": { "path": "/thumbnails/Glacier 3000/_DSC5475.jpg" }, |
40 | "properties": { | 61 | "properties": { |
@@ -53,11 +74,11 @@ | |||
53 | "forest", | 74 | "forest", |
54 | "trees" | 75 | "trees" |
55 | ], | 76 | ], |
56 | "filesize": 355, | ||
57 | "path": "/items/Glacier 3000/_DSC5475.jpg", | 77 | "path": "/items/Glacier 3000/_DSC5475.jpg", |
58 | "thumbnail": { "path": "/thumbnails/Glacier 3000/_DSC5475.jpg" }, | 78 | "thumbnail": { "path": "/thumbnails/Glacier 3000/_DSC5475.jpg" }, |
59 | "properties": { | 79 | "properties": { |
60 | "type": "image", | 80 | "type": "image", |
81 | "filesize": 355, | ||
61 | "resolution": { "width": 3840, "height": 2160 }, | 82 | "resolution": { "width": 3840, "height": 2160 }, |
62 | } | 83 | } |
63 | }, | 84 | }, |
@@ -74,11 +95,11 @@ | |||
74 | "catwalk", | 95 | "catwalk", |
75 | "mountain" | 96 | "mountain" |
76 | ], | 97 | ], |
77 | "filesize": 447, | ||
78 | "path": "/items/Glacier 3000/_DSC5542.jpg", | 98 | "path": "/items/Glacier 3000/_DSC5542.jpg", |
79 | "thumbnail": { "path": "/thumbnails/Glacier 3000/_DSC5542.jpg" }, | 99 | "thumbnail": { "path": "/thumbnails/Glacier 3000/_DSC5542.jpg" }, |
80 | "properties": { | 100 | "properties": { |
81 | "type": "image", | 101 | "type": "image", |
102 | "filesize": 447, | ||
82 | "resolution": { "width": 3840, "height": 2160 }, | 103 | "resolution": { "width": 3840, "height": 2160 }, |
83 | } | 104 | } |
84 | } | 105 | } |