Forum


Replies: 4   Views: 2640
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 - 12:26

Thank you,

But,  I would like the new image (I don't know the width and the height) keep this width/height ratio and fit in the placeholderbox.

Example :

- The placeholder box size is 200x200px.

- The new image  original size is 400x200px

In the final document, the image size must be 200x100px.

You known where I want to go?

Thank you :-)