I met a question when convert html into wordx by using embedHTML, that is, some maxsize of 100% image in html will override the page width.
For example:
<img src="http://...." width="100%"/> won't be scale correctly in the end document.
Hope help.
I met a question when convert html into wordx by using embedHTML, that is, some maxsize of 100% image in html will override the page width.
For example:
<img src="http://...." width="100%"/> won't be scale correctly in the end document.
Hope help.
Hello,
What version and license of phpdocx are you using? You can use the phpdocx_image tag available in HTML Extended (https://www.phpdocx.com/htmlapi-documentation/html-extended/insert-image-Word-document-with-HTML) to insert images applying styles not available in img tag; and you can also set fixed widths and heights (setting width to 100% doesn't scale the image to fill the page).
Regards.