Unable to print an base64 from json using chrome-pdf
-
Hello,
I'm trying to use the chrome-pdf engine to print data from a json file.
The json includes also images. For sure I'm doing it wrong, but I didn't find a solution.
I shared an example template of my project: https://playground.jsreport.net/w/anon/FFD7j36PMy current result is this:
I tried also to render the image in the json using https://codebeautify.org/base64-to-image-converter and it works fine.
-
This is how you display base64 image in HTML
https://stackoverflow.com/a/8499716/1660996So in your case:
<img src='{{image}}'>
-
Thank you. It was much easier than expected.