title: How to get background image showing on DOMPDF generator
body: <p>So far, I've been trying to work with this code:</p>
  
  <pre><code>&lt;style&gt;
      body {
          background-image: url(http://example.com/wp-content/uploads/2016/04/myImage.jpg);
          background-size: 100%;
          background-repeat: no-repeat;
      }
  &lt;/style&gt;
  </code></pre>
  
  <p>Yet this doesn't render an image on the generated PDF.</p>
  
  <p>A plain image tag in the body that's formatted this way, works and shows up fine:</p>
  
  <pre><code>&lt;img src="/home/example/public_html/wp-content/uploads/2016/04/myImage.jpg"&gt;
  </code></pre>
  
  <p>Does anyone know why this is? What can I do to get the background image to actually show on the generated pdf?</p>
  
  <p><strong>UPDATE</strong>:</p>
  
  <p>I've now tried to base64_encode() all possibilities of links.. meaning I've passed,</p>
  
  <p>/home/example/public_html/wp-content/uploads/2016/04/myImage.jpg</p>
  
  <p><a href="http://example.com/wp-content/uploads/2016/04/myImage.jpg" rel="noreferrer">http://example.com/wp-content/uploads/2016/04/myImage.jpg</a></p>
  
  <p>/wp-content/uploads/2016/04/myImage.jpg</p>
  
  <p>These ^ combinations through the base64_encode() function, and none of them have worked to display a background image yet.</p>