It was pointed out by @ljc-dev on twitter today that its a bit unclear on what sizes and formats the images need to be in before adding them to _data/gallery.json
as an object.
{
"title": "Terrace with green plants on night street",
"date": "October 20, 2020",
"credit": "Photo by Aldiyar Seitkassymov",
"linkToAuthor": "https://www.pexels.com/photo/terrace-with-green-plants-on-night-street-3100835/",
"imageData": {
"alt": "Terrace outside shop window with green plants and pink tree on night street",
"large": {
"webp": "/images/shop-plants-large.webp",
"jpg": "/images/shop-plants-large.jpg",
"width": "1024w"
},
"medium": {
"webp": "/images/shop-plants-med.webp",
"width": "640w"
},
"small": {
"webp": "/images/shop-plants-small.webp",
"width": "320w"
}
}
}