Base 64 images #22
This commit is contained in:
parent
5efa00e059
commit
a8dbece237
@ -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;base,${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