html-embedded-in-docx recipe image resizing issue.
-
Hi, Since our report is dynamic and is not feasible to write the template, We're using html-embedded-in-docx recipe, Everything is working fine but the image resizing is not working with the html css style. What's the solution.
-
This recipe just wraps library html-docx-js so the best resource is the library github repo.
I've found there that you can use
img
width
andheight
attributes.
https://github.com/evidenceprime/html-docx-js/issues/105Or you can use jsreport helpers to resize the images dynamically.