By: Locs
Date: 2015-12-03
Time: 17:31
|
Merge image in docx template
Hi i try to merge an image in my template docx, but the image in template is nerver replace.
My description for the image in template is like this :
[[PhotosImmeuble.media];ope=changepic;from=[PhotosImmeuble.media];tagpos=inside;adjust;unique]
I merge my data using MergeBlock and in the result docx i've got that in my description for the image :
[/var/www/symfony/web/uploads/media/Photos immeuble/0001/01/8524574c3c4efde5c9f12d0ee961f35833bd8a4e.jpeg;ope=changepic;from=/var/www/symfony/web/uploads/media/Photos immeuble/0001/01/8524574c3c4efde5c9f12d0ee961f35833bd8a4e.jpeg;tagpos=inside;adjust;unique]
So the path is right i test it, but the image isn't change? I make the template using LibreOffice and save file in docx format.
Someone can help me please?
Thanks :)
|
By: Skrol29
Date: 2015-12-05
Time: 23:46
|
Re: Merge image in docx template
Hi Locs,
Your snipped is not a valid TBS field.
Parameter "ope=changepic" will make a closed picture to be replaced with the picture pointed by the value of the field.
So you better try :
[PhotosImmeuble.media;ope=changepic;tagpos=inside;adjust;unique] |
|
By: Locs
Date: 2015-12-06
Time: 12:50
|
Re: Merge image in docx template
Hi thanks for your answer, it's good now openTBS try to merge my picture. But i've got this error :
OpenTBS Plugin: The picture to merge with field [Immeuble_sub1.media] cannot be found. Value=rId2 The process is ending, unless you set NoErr property to true.
|
The path i use is good.
Souhld i use relative path?
Thanks
|
|
Posting in progress.
Please wait...
|