Switch to json encoded meta data

Instead of parsing a comma separated list of photo urls, we retrieve a
json array of meta data (url, title, size).
This commit is contained in:
Alexander Kobjolke 2023-12-12 09:43:51 +01:00
parent e47f1d0449
commit a4501d5cb5
4 changed files with 174 additions and 44 deletions

32
list
View file

@ -1 +1,31 @@
1.jpeg,2.jpeg,3.jpeg,4.jpeg
[
{
"url": "1.jpeg",
"size": 36,
"title": "Beachside"
},
{
"url": "2.jpeg",
"size": 19,
"title": "Epica, live at the Agora"
},
{
"url": "3.jpeg",
"size": 41
},
{
"url": "4.jpeg",
"size": 41,
"title": "City Museum"
},
{
"url": "5.jpeg",
"size": 25,
"title": null
},
{
"url": "6.jpeg",
"size": 37,
"title": "Boat in Glass"
}
]