<p>Hi,</p>
<p>So it is quite easy (I guess) :)
First in your template, your image mergefield name should start with "Image:" This allows the DocFactory Backend to intercept the mail merge operation and see it has to insert an image there.
For Example: "Image:my_logo"
You do then:</p>
<p><code>in.MergeField.add(new TemplateMergeField("my_logo", in.myLogoFile.getPath()));</code></p>in.myLogoFile.getAbsolutePath()));</code></p>
<p>This should work.</p>
<p>A new improved version of the IvyAddOns in on the way with the possibility of using java.io.File objects directly as parameters.</p>
<p>I hope this will help you</p>
<p>Regards
Emmanuel</p>