title: Insert image in PDF footer with wicked_pdf
body: <p>I'm generating a PDF using <code>wicked_pdf</code> and I want to include a footer with an image in every page.</p>
  
  <p>I generated a file, <code>footer.pdf.erb</code>, to insert in the bottom of the pages, but, when the PDF is rendered, the image appears at the top and the content of the page disappears.</p>
  
  <p>The versions I'm using are 0.10.2 for <code>wicked_pdf</code> gem and 0.12.1 for <code>wkhtmltopdf</code>.</p>
  
  <p><strong>footer.pdf.erb</strong></p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;%=wicked_pdf_image_tag('image_path', :width =&gt; "97", :height =&gt; "25")%&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>controller.rb</strong></p>
  
  <pre><code>format.pdf do
    render  :pdf =&gt; "pdf",
            :footer =&gt; {:html =&gt; {:layout =&gt; 'layouts/pdfs/footer.pdf.erb'}}
  end
  </code></pre>
  
  <p>Is the <code>:footer</code> call OK? Or there is another way to insert an image in the footer of the PDFs?</p>