When using the "Print PDF letter for Contacts" action, I tried to add an image and when I downloaded the PDF file, in place of the image, said "Image not readable or empty"

I've tried all the solutions listed here: https://stackoverflow.com/questions/25558449/dompdf-image-not-readable-or-empty and nothing.


  • When you say "Image Tool" are you referring to CKEditor?, I'm using CKEditor for upload the image. Thks
    – Max
    Oct 29, 2015 at 14:14
  • yes, then are you uploading the image and selecting the image - from the tool Oct 29, 2015 at 14:28
  • what version of Civi are you using ?? and are you using drupal ?? Oct 29, 2015 at 14:29
  • Please don't give your comment against Answer this will not trigger an notification for me please try to add your comment in the add a comment option - so I will get an notification - thanks Oct 29, 2015 at 14:31
  • Sorry, I'm a newcomer. :-)
    – Max
    Nov 20, 2015 at 12:31

2 Answers 2


Please try to add Image tool and upload your image using the Image tool that should work correctly - please try the same against Demo server


There were instructions here suggesting using the image path of sites/files/etc ... and yes I mean without a leading slash

I was slightly doubtful of this but it definitely fixed the problem in our case, so using

<img src="sites/example.org/files/logo.png">

worked for us.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.