Forum


Replies: 4   Views: 3560
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 asher  · 11-04-2013 - 12:13

Never mind, I figured this out.

For anyone else looking for the same thing:

In CreateImage.inc:267

// $this->setName($args[0]['name']);
$this->setName($args[0]['description']);


Then simply add a 'description' key to your params array when you call addImage()


It would be nice to have this in future versions, its a very useful feature that can be done with a line of code.