Forum


Replies: 1   Views: 1498
Position image fixed using embedhtml
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  · 05-08-2020 - 09:19

Hello,

Using HTML Extended available in Premium licenses you can set fixed location on pages to images from HTML using phpdocx_image tag and data-relativeToHorizontal and data-relativeToVertical attributes.

addImage method includes the same options in all methods (relativeToHorizontal and relativeToVertical). In the package you can find a sample that illustrates both options (Core/addImage/sample_5.php).

Regards.