TinyButStrong - the PHP Template Engine
Categories > TinyButStrong general >

Picture in Docx

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: Beginner
Date: 2015-07-16
Time: 11:32

Picture in Docx

Hi community,

I did not understand how we can dynamically change the picture of a template.

From the example, I understood that you create an array with the id of the picture in it (ex : 1234f, 1523d, 5491y). That allow you to collect images (ex : 'pic_1234f.png', 'pic_1523d.png', 'pic_5491y.png').

The template says : 'The image is merged using a TBS field which is placed in the Description property of the image.'

Where is the description property of the image? How can I reach it? (I have word 2013).
By: Skrol29
Date: 2015-07-16
Time: 20:09

Re: Picture in Docx

It seems this is an old documentation.
It it better explained here, at the "tagpos" parameter :

http://www.tinybutstrong.com/opentbs.php?doc#pic
By: Beginner
Date: 2015-07-17
Time: 10:42

Re: Picture in Docx

Thank you.