if (image.prompt && image.code) {
const figcaption = document.createElement('figcaption');
const caption_text = document.createTextNode(`${image.prompt} (${image.code}) `);
if (image.prompt && image.code) {
const figcaption = document.createElement('figcaption');
const caption_text = document.createTextNode(`${image.prompt} (${image.code}) `);