From a8dbece2373b562494be0a8d5cc70f5bdfa7d6e3 Mon Sep 17 00:00:00 2001 From: glax Date: Thu, 25 May 2023 13:58:10 +0200 Subject: [PATCH] Base 64 images #22 --- Website/interaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Website/interaction.js b/Website/interaction.js index cbb1172..0382234 100644 --- a/Website/interaction.js +++ b/Website/interaction.js @@ -111,7 +111,7 @@ function CreatePublication(publication, connector){ var publicationElement = document.createElement('publication'); publicationElement.setAttribute("id", publication.internalId); var img = document.createElement('img'); - img.src = publication.posterUrl; + img.src = `data:image;base,${publication.posterBase64}`; publicationElement.appendChild(img); var info = document.createElement('publication-information'); var connectorName = document.createElement('connector-name');