Problem with images in html-to-xlsx recipe

197 views
Skip to first unread message

sp.te...@gmail.com

unread,
Apr 24, 2017, 3:54:59 AM4/24/17
to jsreport
I use "jsrender" engine to write the reports and if I choose the "html-to-xlsx" recipe the images are not rendered. Instead the html of the img is written in the xslx file, for example <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhE....">
Using "phantom-pdf" or "html-with-browser-client" recipes images are shown correctly.

Is there a way that I could use the "html-to-xlsx" recipe to show the images in the xlsx file? Or should I use another engine or recipe?

Jan Blaha

unread,
Apr 24, 2017, 4:00:06 AM4/24/17
to jsreport, sp.te...@gmail.com
This recipe doesn't support images. You need to take a look on more complex recipe - https://jsreport.net/learn/xlsx

Please also note that this forum is about to be closed, please use this one for the next conversation


sp.te...@gmail.com

unread,
Apr 24, 2017, 4:05:53 AM4/24/17
to jsreport, sp.te...@gmail.com
Thank you.
Reply all
Reply to author
Forward
0 new messages