title: Add image in a .docx with PHPWord using TemplateProcessor
body: <p>I don't know if is possible to add an image in a template with PHPWord using TemplateProcessor.</p>
  
  <p>I have a document (form.docx). This document is a template. I read the fields (${name} for example) and replace it with a text.</p>
  
  <pre><code>$template = new TemplateProcessor('form.docx');
  $template-&gt;setValue('name', $name);
  </code></pre>
  
  <p>But now, I want to put an image but I don't know how I do it. I try with this:</p>
  
  <pre><code>$img='img.jpg';
  $template-&gt;setValue('image',$img);
  </code></pre>
  
  <p>Doesn't works. I try other form, creating a section and add this section to template but this fails.</p>
  
  <pre><code>$phpWord = new PhpWord();
  $section = $phpWord-&gt;createSection();   
  
  $section-&gt;addImage('img.jpg', array('width'=&gt;210, 'height'=&gt;210, 'align'=&gt;'center'));
  $template = new TemplateProcessor('form.docx'); 
  $template-&gt;setValue('image',$section).
  </code></pre>
  
  <p>Anyone know how to put an image in a .docx using a template?</p>
  
  <p>Thanks.</p>