From d765dc84066b955b6eac488acdd6051645f969a0 Mon Sep 17 00:00:00 2001 From: pacien Date: Sat, 21 Dec 2019 04:03:12 +0100 Subject: add example gallery with reference gallery index --- example/Glacier 3000/_DSC5475.jpg | Bin 0 -> 363216 bytes example/Glacier 3000/_DSC5475.jpg.yaml | 15 ++++++ example/Glacier 3000/_DSC5542.jpg | Bin 0 -> 457873 bytes example/Glacier 3000/_DSC5542.jpg.yaml | 15 ++++++ example/_DSC8808-1.jpg | Bin 0 -> 1010643 bytes example/_DSC8808-1.jpg.yaml | 12 +++++ example/index.json | 90 +++++++++++++++++++++++++++++++++ example/readme.md | 21 ++++++++ 8 files changed, 153 insertions(+) create mode 100644 example/Glacier 3000/_DSC5475.jpg create mode 100644 example/Glacier 3000/_DSC5475.jpg.yaml create mode 100644 example/Glacier 3000/_DSC5542.jpg create mode 100644 example/Glacier 3000/_DSC5542.jpg.yaml create mode 100644 example/_DSC8808-1.jpg create mode 100644 example/_DSC8808-1.jpg.yaml create mode 100644 example/index.json create mode 100644 example/readme.md (limited to 'example') diff --git a/example/Glacier 3000/_DSC5475.jpg b/example/Glacier 3000/_DSC5475.jpg new file mode 100644 index 0000000..9835447 Binary files /dev/null and b/example/Glacier 3000/_DSC5475.jpg 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 @@ +title: Fog 3000 + +date: 2019:08:10T14:38:47+01:00 + +description: > + © Philippe NGUYEN + +tags: + - photographer.nphilou + - location.switzerland.ormont-dessus + - glacier3000 + - time.day + - weather.foggy + - forest + - trees diff --git a/example/Glacier 3000/_DSC5542.jpg b/example/Glacier 3000/_DSC5542.jpg new file mode 100644 index 0000000..19a716e Binary files /dev/null and b/example/Glacier 3000/_DSC5542.jpg 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 @@ +title: Foggy catwalk + +date: 2019:08:10T16:00:45+01:00 + +description: > + © Philippe NGUYEN + +tags: + - photographer.nphilou + - location.switzerland.ormont-dessus + - glacier3000 + - time.day + - weather.foggy + - catwalk + - mountain diff --git a/example/_DSC8808-1.jpg b/example/_DSC8808-1.jpg new file mode 100644 index 0000000..51b43b0 Binary files /dev/null and b/example/_DSC8808-1.jpg 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 @@ +title: Book shop + +date: 2016:12:19T16:48:50+02:00 + +description: > + © Philippe NGUYEN + +tags: + - photographer.nphilou + - location.germany.berlin + - books + - 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 @@ +/* reference gallery index file, manually aggregated */ + +{ + "title": "", + "date": "", + "description": "", + "tags": [], + "filesize": 0, + "path": "/", + "thumbnail": { "path": "/thumbnails/_DSC8808-1.jpg" }, + "properties": { + "type": "directory", + "items": [ + { + "title": "Book shop", + "date": "2016:12:19T16:48:50+02:00", + "description": "© Philippe NGUYEN", + "tags": [ + "photographer.nphilou", + "location.germany.berlin", + "books", + "book-shop" + ], + "filesize": 987, + "path": "/items/_DSC8808-1.jpg", + "thumbnail": { "path": "/thumbnails/_DSC8808-1.jpg" }, + "properties": { + "type": "image", + "resolution": { "width": 3840, "height": 2160 }, + } + }, + { + "title": "Glacier 3000", + "date": "", + "description": "", + "tags": [], + "filesize": 0, + "path": "/items/Glacier 3000", + "thumbnail": { "path": "/thumbnails/Glacier 3000/_DSC5475.jpg" }, + "properties": { + "type": "directory", + "items": [ + { + "title": "Fog 3000", + "date": "2019:08:10T14:38:47+01:00", + "description": "© Philippe NGUYEN", + "tags": [ + "photographer.nphilou", + "location.switzerland.ormont-dessus", + "glacier3000", + "time.day", + "weather.foggy", + "forest", + "trees" + ], + "filesize": 355, + "path": "/items/Glacier 3000/_DSC5475.jpg", + "thumbnail": { "path": "/thumbnails/Glacier 3000/_DSC5475.jpg" }, + "properties": { + "type": "image", + "resolution": { "width": 3840, "height": 2160 }, + } + }, + { + "title": "Foggy catwalk", + "date": " 2019:08:10T16:00:45+01:00", + "description": "© Philippe NGUYEN", + "tags": [ + "photographer.nphilou", + "location.switzerland.ormont-dessus", + "glacier3000", + "time.day", + "weather.foggy", + "catwalk", + "mountain" + ], + "filesize": 447, + "path": "/items/Glacier 3000/_DSC5542.jpg", + "thumbnail": { "path": "/thumbnails/Glacier 3000/_DSC5542.jpg" }, + "properties": { + "type": "image", + "resolution": { "width": 3840, "height": 2160 }, + } + } + ] + } + } + ] + } +} 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 @@ +ldgallery example gallery +========================= + +This directory contains an example source directory that _ldgallery_ can understand to generate a gallery. + + +Content +------- + +``` +./example +├── _DSC8808-1.jpg -- a picture +├── _DSC8808-1.jpg.yaml -- its associated sidecar metadata file +├── Glacier 3000 -- a directory grouping gallery items +│   ├── _DSC5475.jpg +│   ├── _DSC5475.jpg.yaml +│   ├── _DSC5542.jpg +│   └── _DSC5542.jpg.yaml +├── index.json -- reference gallery index file +└── readme.md -- this README +``` -- cgit v1.2.3