Forum


Replies: 1   Views: 1849
Image from string and not a source file.
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 AndrewCooper  · 13-05-2016 - 11:08

Hi,

We are trying to get PhpDocx to work as our document generation package. One the issues I've run into is that the addImage() options need a source file in order to load the image. Our problem is that we don't have any source files. We store our images in an Oracle database as a binary string. We then pull them out of the database as a string. Is there a way to pass this image string to the addImage() function instead of a file location?

Andrew

Posted by admin  · 13-05-2016 - 14:01

Hello,

It's not supported in the current version of phpdocx. After you have purchased a license please write us to contact[at]phpdocx.com and we'll send you a patch to add support.

Regards.