aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorpacien2019-12-27 13:38:47 +0100
committerpacien2019-12-27 13:38:47 +0100
commit1e57d76eadb2192be2b3d9343d4ddfeccc996bcb (patch)
treed001300af03a431b6e0b51a1ca0292429c0eb8e8 /example
parent63b06627f200f155f66ecdb6c5f41ab44808dd6b (diff)
downloadldgallery-1e57d76eadb2192be2b3d9343d4ddfeccc996bcb.tar.gz
compiler: exclude output dir from input
Diffstat (limited to 'example')
-rw-r--r--example/.gitignore3
-rw-r--r--example/gallery.yaml6
-rw-r--r--example/index.json111
3 files changed, 6 insertions, 114 deletions
diff --git a/example/.gitignore b/example/.gitignore
index f1212bc..1fcb152 100644
--- a/example/.gitignore
+++ b/example/.gitignore
@@ -1,2 +1 @@
1items out
2thumbnails
diff --git a/example/gallery.yaml b/example/gallery.yaml
index fc4bdf9..0a16e59 100644
--- a/example/gallery.yaml
+++ b/example/gallery.yaml
@@ -1,2 +1,6 @@
1compiler: {} 1compiler:
2 pictureMaxResolution:
3 width: 1024
4 height: 768
5
2viewer: {} 6viewer: {}
diff --git a/example/index.json b/example/index.json
deleted file mode 100644
index d693f7b..0000000
--- a/example/index.json
+++ /dev/null
@@ -1,111 +0,0 @@
1{
2 "_comment": "reference gallery index file, manually aggregated",
3
4 "title": "",
5 "date": "",
6 "description": "",
7 "tags": [
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 ],
21 "path": "/",
22 "thumbnail": null,
23 "properties": {
24 "type": "directory",
25 "items": [
26 {
27 "title": "Book shop",
28 "date": "2016:12:19T16:48:50+02:00",
29 "description": "© Philippe NGUYEN",
30 "tags": [
31 "photographer.nphilou",
32 "location.germany.berlin",
33 "books",
34 "book-shop"
35 ],
36 "path": "/items/_DSC8808-1.jpg",
37 "thumbnail": "/thumbnails/_DSC8808-1.jpg",
38 "properties": {
39 "type": "image",
40 "filesize": 987,
41 "resolution": { "width": 3840, "height": 2160 }
42 }
43 },
44 {
45 "title": "Glacier 3000",
46 "date": "",
47 "description": "",
48 "tags": [
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 ],
59 "path": "/items/Glacier 3000",
60 "thumbnail": null,
61 "properties": {
62 "type": "directory",
63 "items": [
64 {
65 "title": "Fog 3000",
66 "date": "2019:08:10T14:38:47+01:00",
67 "description": "© Philippe NGUYEN",
68 "tags": [
69 "photographer.nphilou",
70 "location.switzerland.ormont-dessus",
71 "glacier3000",
72 "time.day",
73 "weather.foggy",
74 "forest",
75 "trees"
76 ],
77 "path": "/items/Glacier 3000/_DSC5475.jpg",
78 "thumbnail": "/thumbnails/Glacier 3000/_DSC5475.jpg",
79 "properties": {
80 "type": "image",
81 "filesize": 355,
82 "resolution": { "width": 3840, "height": 2160 }
83 }
84 },
85 {
86 "title": "Foggy catwalk",
87 "date": " 2019:08:10T16:00:45+01:00",
88 "description": "© Philippe NGUYEN",
89 "tags": [
90 "photographer.nphilou",
91 "location.switzerland.ormont-dessus",
92 "glacier3000",
93 "time.day",
94 "weather.foggy",
95 "catwalk",
96 "mountain"
97 ],
98 "path": "/items/Glacier 3000/_DSC5542.jpg",
99 "thumbnail": "/thumbnails/Glacier 3000/_DSC5542.jpg",
100 "properties": {
101 "type": "image",
102 "filesize": 447,
103 "resolution": { "width": 3840, "height": 2160 }
104 }
105 }
106 ]
107 }
108 }
109 ]
110 }
111}