I am trying to convert an HTML file to PDF using YARG, but the images (stored locally) don’t appear in the PDF. Accordingly to your article “Yet Another Report Generator?” (https://www.cuba-platform.com/blog/2015-09-01/431) it is possible to include images (“Ability to use HTML layout and insert/embed images”), but I’ve looked in the documentation and haven’t found a way to make it work. I am missing something? Thank you in advance.
Please look at smoketest.FormattersSmokeTest#testHtmlToPdf and smoketest/test.ftl.
If you refer to local file should be like the following:
Does it work for you?
Yes, it works. Thank you.