Forum


Replies: 6   Views: 199
Get the image size of an image placeholder when using createdocxfromtemplate
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 ISSL  · 20-06-2019 - 08:19

I've just updated our test environment to use the latest version and I now get the required information from the Indexer:

[
        "height_word_emus" => "526636",
        "width_word_emus" => "1511085",
        "height_word_inches" => 0.57593613298338,
        "width_word_inches" => 1.6525426509186,
        "height_word_cms" => 1.4628777777778,
        "width_word_cms" => 4.1974583333333,
]

I'm not sure why the previous version wasn't doing the same but I'm glad it is now!