Forum


Replies: 1   Views: 3297
Cant create hyperlink from image
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  · 13-07-2016 - 15:05

Hello,

Your code is replacing a placeholder by a WordFragment (this is the image) removing the whole content of the paragraph as you are setting replacement type as 'block'.

We recommend you to use inline replacement or use the method replacePlaceholderImage to replace the image.

Regards.