Hi, when i try to embedHTML() or replaceVariableByHTML() i get bad result, no css no images.
Can you help me? I can send you zip-archive with html and images, and you check whats wrong?!
Hi, when i try to embedHTML() or replaceVariableByHTML() i get bad result, no css no images.
Can you help me? I can send you zip-archive with html and images, and you check whats wrong?!
Hello,
We recommend you to read the documentation and tips about HTML to DOCX:
https://www.phpdocx.com/documentation/introduction/html-to-word-PHP
https://www.phpdocx.com/documentation/cookbook/convert-html-to-word
The most common issue is missing Tidy for PHP and mbstring extensions. The first one (Tidy) is required to import CSS, and the second extension (mbstring) is required to work with multibyte strings.
About adding images, please read this information:
https://www.phpdocx.com/documentation/cookbook/insert-images-html
Regards.