Skip to content

How to get Image support in DocumentAssembler to work? #52

Answered by nefarius
nefarius asked this question in Q&A
Discussion options

You must be logged in to vote

EDIT: it's fixed! I had an empty cell in my table row, apparently that generates invalid markup, I simply added an empty string property to the template object and now it works! 🎉

OK we got progress, turns out my template syntax was outdated, I used the documents used in the tests as a template and now the image is rendered, yay! Now I need to figure out what the "unreadable content" dialog still comes up, maybe there's more hidden broken stuff in the template itself...

Hm, I rewrote the template from scratch and still get the error. Currently DIFF'ing the generated file against one that got saved and "fixed" by MS Word.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sergey-tihon
Comment options

@nefarius
Comment options

Answer selected by nefarius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants