Forum


Replies: 5   Views: 4662
Replacevariablebyhtml image width percent not applying
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 10-06-2016 - 06:51

Hello,

You need to set width value without px or %. For example:

<td width="33%" ><img width="50" src="image.png"></td>

Since HTML5, width and height values in this tag must be in pixels and without adding 'px' (http://www.w3schools.com/tags/att_img_width.asp).

We also recommend you to check that Tidy is installed and running on your server.

Regards.