I am on civicrm spark running 5.32.beta1 and I cannot get images to work on templates with PDF document merge.
Since it's spark I have little control over the backend installation. As far as I can tell I can't use local image hosting located at "https://mysite.civicrm.org/sites/mysite.civicrm.org/files/civicrm/persist/contribute" so I have tried hosting the images on our main organization webhost and using the url in an image tag. This appears to work fine for emails but will not generate in the pdf output.
I found this help relevant: https://forum.civicrm.org/index.php%3Ftopic=22663.0.html but since I'm on spark I don't believe I have any control over the civicrm version or the "allow_url_fopen" field. Can I only use any images already hosted on civicrm.org then? Is there something I'm missing?