diff --git a/tensors/server/static/index.html b/tensors/server/static/index.html index e796715..f7bc9e3 100644 --- a/tensors/server/static/index.html +++ b/tensors/server/static/index.html @@ -309,9 +309,9 @@ const imagesDiv = msgDiv.querySelector('.chat-images'); if (data.images && data.images.length > 0) { - imagesDiv.innerHTML = data.images.map(id => ` - - ${id} + imagesDiv.innerHTML = data.images.map(img => ` + + ${img.id} `).join(''); initLightbox();