Forum


Replies: 4   Views: 2459
How to replace a placeholder image by another image and keep second image proportions
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 Desoutter  · 30-10-2017 - 09:37

Hi,

Is it possible to replace an placeholder image with a new image with this constraints :

- The placeholder image fix the max with and the max height

- The new image keep proportions and fit to max width (or max height or both if they both have the same proportions)

PS : The placeholder image can be a word box or whatelse who can constraint the new image.

Thank you.