Base 64 images #22
This commit is contained in:
parent
5efa00e059
commit
01a059d26b
@ -111,7 +111,7 @@ function CreatePublication(publication, connector){
|
|||||||
var publicationElement = document.createElement('publication');
|
var publicationElement = document.createElement('publication');
|
||||||
publicationElement.setAttribute("id", publication.internalId);
|
publicationElement.setAttribute("id", publication.internalId);
|
||||||
var img = document.createElement('img');
|
var img = document.createElement('img');
|
||||||
img.src = publication.posterUrl;
|
img.src = `data:image;base64,${publication.posterBase64}`;
|
||||||
publicationElement.appendChild(img);
|
publicationElement.appendChild(img);
|
||||||
var info = document.createElement('publication-information');
|
var info = document.createElement('publication-information');
|
||||||
var connectorName = document.createElement('connector-name');
|
var connectorName = document.createElement('connector-name');
|
||||||
|
Loading…
Reference in New Issue
Block a user