Forum


Replies: 4   Views: 4128
How to add caption to an 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 jari.heinonen  · 12-06-2015 - 05:10

Hi, Is there a way to add a caption into an image? Any information on this matter is appreciated.

Posted by admin  · 13-06-2015 - 09:17

Hello, Sorry but you can't set the caption of images. We have added a task to add this property in the addImage method. Regards.

Posted by nicks  · 20-11-2015 - 12:59

Hi Guys,

Just following this one up. I'm wanting to add a caption to a picture using replaceVariableByWordFragment.

How close are you guys to getting this feature in?

Thanks

Posted by admin  · 24-11-2015 - 09:26

Hello,

The next version of phpdocx will add support to add caption to images.

Regards.

Posted by nicks  · 24-11-2015 - 21:37

Awesome, thanks for confirming!