2
0

Base 64 images #22

This commit is contained in:
glax 2023-05-25 13:58:10 +02:00
parent 5efa00e059
commit 01a059d26b

View File

@ -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;base64,${publication.posterBase64}`;
publicationElement.appendChild(img);
var info = document.createElement('publication-information');
var connectorName = document.createElement('connector-name');