aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/Glacier 3000/_DSC5475.jpgbin0 -> 363216 bytes
-rw-r--r--example/Glacier 3000/_DSC5475.jpg.yaml15
-rw-r--r--example/Glacier 3000/_DSC5542.jpgbin0 -> 457873 bytes
-rw-r--r--example/Glacier 3000/_DSC5542.jpg.yaml15
-rw-r--r--example/_DSC8808-1.jpgbin0 -> 1010643 bytes
-rw-r--r--example/_DSC8808-1.jpg.yaml12
-rw-r--r--example/index.json90
-rw-r--r--example/readme.md21
8 files changed, 153 insertions, 0 deletions
diff --git a/example/Glacier 3000/_DSC5475.jpg b/example/Glacier 3000/_DSC5475.jpg
new file mode 100644
index 0000000..9835447
--- /dev/null
+++ b/example/Glacier 3000/_DSC5475.jpg
Binary files differ
diff --git a/example/Glacier 3000/_DSC5475.jpg.yaml b/example/Glacier 3000/_DSC5475.jpg.yaml
new file mode 100644
index 0000000..0d89888
--- /dev/null
+++ b/example/Glacier 3000/_DSC5475.jpg.yaml
@@ -0,0 +1,15 @@
1title: Fog 3000
2
3date: 2019:08:10T14:38:47+01:00
4
5description: >
6 © Philippe NGUYEN
7
8tags:
9 - photographer.nphilou
10 - location.switzerland.ormont-dessus
11 - glacier3000
12 - time.day
13 - weather.foggy
14 - forest
15 - trees
diff --git a/example/Glacier 3000/_DSC5542.jpg b/example/Glacier 3000/_DSC5542.jpg
new file mode 100644
index 0000000..19a716e
--- /dev/null
+++ b/example/Glacier 3000/_DSC5542.jpg
Binary files differ
diff --git a/example/Glacier 3000/_DSC5542.jpg.yaml b/example/Glacier 3000/_DSC5542.jpg.yaml
new file mode 100644
index 0000000..b513c0e
--- /dev/null
+++ b/example/Glacier 3000/_DSC5542.jpg.yaml
@@ -0,0 +1,15 @@
1title: Foggy catwalk
2
3date: 2019:08:10T16:00:45+01:00
4
5description: >
6 © Philippe NGUYEN
7
8tags:
9 - photographer.nphilou
10 - location.switzerland.ormont-dessus
11 - glacier3000
12 - time.day
13 - weather.foggy
14 - catwalk
15 - mountain
diff --git a/example/_DSC8808-1.jpg b/example/_DSC8808-1.jpg
new file mode 100644
index 0000000..51b43b0
--- /dev/null
+++ b/example/_DSC8808-1.jpg
Binary files differ
diff --git a/example/_DSC8808-1.jpg.yaml b/example/_DSC8808-1.jpg.yaml
new file mode 100644
index 0000000..d7631db
--- /dev/null
+++ b/example/_DSC8808-1.jpg.yaml
@@ -0,0 +1,12 @@
1title: Book shop
2
3date: 2016:12:19T16:48:50+02:00
4
5description: >
6 © Philippe NGUYEN
7
8tags:
9 - photographer.nphilou
10 - location.germany.berlin
11 - books
12 - book-shop
diff --git a/example/index.json b/example/index.json
new file mode 100644
index 0000000..3a1d841
--- /dev/null
+++ b/example/index.json
@@ -0,0 +1,90 @@
1/* reference gallery index file, manually aggregated */
2
3{
4 "title": "",
5 "date": "",
6 "description": "",
7 "tags": [],
8 "filesize": 0,
9 "path": "/",
10 "thumbnail": { "path": "/thumbnails/_DSC8808-1.jpg" },
11 "properties": {
12 "type": "directory",
13 "items": [
14 {
15 "title": "Book shop",
16 "date": "2016:12:19T16:48:50+02:00",
17 "description": "© Philippe NGUYEN",
18 "tags": [
19 "photographer.nphilou",
20 "location.germany.berlin",
21 "books",
22 "book-shop"
23 ],
24 "filesize": 987,
25 "path": "/items/_DSC8808-1.jpg",
26 "thumbnail": { "path": "/thumbnails/_DSC8808-1.jpg" },
27 "properties": {
28 "type": "image",
29 "resolution": { "width": 3840, "height": 2160 },
30 }
31 },
32 {
33 "title": "Glacier 3000",
34 "date": "",
35 "description": "",
36 "tags": [],
37 "filesize": 0,
38 "path": "/items/Glacier 3000",
39 "thumbnail": { "path": "/thumbnails/Glacier 3000/_DSC5475.jpg" },
40 "properties": {
41 "type": "directory",
42 "items": [
43 {
44 "title": "Fog 3000",
45 "date": "2019:08:10T14:38:47+01:00",
46 "description": "© Philippe NGUYEN",
47 "tags": [
48 "photographer.nphilou",
49 "location.switzerland.ormont-dessus",
50 "glacier3000",
51 "time.day",
52 "weather.foggy",
53 "forest",
54 "trees"
55 ],
56 "filesize": 355,
57 "path": "/items/Glacier 3000/_DSC5475.jpg",
58 "thumbnail": { "path": "/thumbnails/Glacier 3000/_DSC5475.jpg" },
59 "properties": {
60 "type": "image",
61 "resolution": { "width": 3840, "height": 2160 },
62 }
63 },
64 {
65 "title": "Foggy catwalk",
66 "date": " 2019:08:10T16:00:45+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 "catwalk",
75 "mountain"
76 ],
77 "filesize": 447,
78 "path": "/items/Glacier 3000/_DSC5542.jpg",
79 "thumbnail": { "path": "/thumbnails/Glacier 3000/_DSC5542.jpg" },
80 "properties": {
81 "type": "image",
82 "resolution": { "width": 3840, "height": 2160 },
83 }
84 }
85 ]
86 }
87 }
88 ]
89 }
90}
diff --git a/example/readme.md b/example/readme.md
new file mode 100644
index 0000000..11e20c1
--- /dev/null
+++ b/example/readme.md
@@ -0,0 +1,21 @@
1ldgallery example gallery
2=========================
3
4This directory contains an example source directory that _ldgallery_ can understand to generate a gallery.
5
6
7Content
8-------
9
10```
11./example
12├── _DSC8808-1.jpg -- a picture
13├── _DSC8808-1.jpg.yaml -- its associated sidecar metadata file
14├── Glacier 3000 -- a directory grouping gallery items
15│   ├── _DSC5475.jpg
16│   ├── _DSC5475.jpg.yaml
17│   ├── _DSC5542.jpg
18│   └── _DSC5542.jpg.yaml
19├── index.json -- reference gallery index file
20└── readme.md -- this README
21```