Answers.Body: <p>I found any relative link should not lead with a slash.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-08T07:10:54.803Z
Answers.Text: Well done James
Answers.UserDisplayName: Matt P
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-07T15:40:51.760Z
Answers.LastActivityDate: 2016-06-07T21:27:49.663Z
Answers.LastEditDate: 2016-06-07T21:27:49.663Z
Answers.UserDisplayName: James
Body: <p>In my order PDF template I have an image that shows when I preview the template as a web page but not in the generated PDF. I’ve tried SVG, PNG and JPEG.</p>
  
  <p>If I use a relative path I get the error <code>Image not readable or empty</code>. With an absolute path I get <code>DOMPDF_ENABLE_REMOTE is set to FALSE</code>.</p>
  
Tags: <templating><plugin-craftcommerce><pdf><dompdf>
Title: How to link images inside an order PDF?
ThreadText: # How to link images inside an order PDF?
  
  (Asked by: username_0 on 2016-06-07)
  
  In my order PDF template I have an image that shows when I preview the template as a web page but not in the generated PDF. I’ve tried SVG, PNG and JPEG.
  
  If I use a relative path I get the error `Image not readable or empty`. With an absolute path I get `DOMPDF_ENABLE_REMOTE is set to FALSE`.
  
  **Tags:** templating, plugin-craftcommerce, pdf, dompdf
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-06-07. Score: 5
  
  I found any relative link should not lead with a slash.
  
  > **Comments:**
  > **username_1**: Well done username_0  
  
  ---
  
  