Categories > OpenTBS with DOCX >

how i can put img in docx ?

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: awadh
Date: 2013-04-20
Time: 13:57

how i can put img in docx ?

hi
what cod do i have to put in the
php file
and the docx templet to show the img

for example the img is in ./img/test.jpg

By: Awadh
Date: 2013-04-21
Time: 08:31

Re: how i can put img in docx ?

Help please i am need it extremely
2 month of work stock on this
By: Sarah
Date: 2013-04-22
Time: 17:21

Re: how i can put img in docx ?

First make sure there is a normal image in your template (no special tags) - this will be replaced with your image. Make it the same size and position you want to use for you replacement. Then use ope=changepic as shown in the manual here: http://www.tinybutstrong.com/plugins/opentbs/tbs_plugin_opentbs.html#pic
By: awadh
Date: 2013-04-22
Time: 18:02

Re: how i can put img in docx ?

thinks sarah

I hope you give me an example
What should I put in a php file
if the internal pic called image1.gif
and the new on 1.gif
By: Sarah
Date: 2013-04-22
Time: 18:57

Re: how i can put img in docx ?

Your php file would need to have the path to the image in a variable you are merging in the word template.
$myImage = 'images/myimage.jpg';

<!--image is here in word template-->
[onshow.myImage;ope=changepic;default=current]
By: awadh
Date: 2013-04-23
Time: 20:52

Re: how i can put img in docx ?

sarah thinks  alot its work finly