Replies: 4   Views: 3228
Change alt text for 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  · 11-04-2013 - 12:13


The current version of phpdocx can¡t add the alt image using addImage method, so I recommend you to add a simple placeholder and use replaceTemplateVariableByHTML to replace it using an image.

Or change the code as you've done :).