Forum


Replies: 4   Views: 970
How to modify image's alt text
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  · 22-12-2021 - 15:04

Hello,

Although we recommend you upgrade to phpdocx 12 to be able to use the descr option and all other new features, if you want to change the source code manually, you need to update the following line in CreateImage.php:

$this->setName($args[0]['src']);

you can set any other value instead of the file path ( $args[0]['src'] ).

Regards.