Entity print with dompdf doesn't render image

Created on 8 August 2023, 11 months ago
Updated 15 August 2023, 11 months ago

Hi,

We just set up the Signature (Field) module which allows us to add a Signature field in webforms and this works fine.
When we try to generate the PDF of all the submissions, we don't get the Signature image in the PDF. It instead displays the message "Image not found or type unknown".
We're using the DomPDF engine with Entity print to generate these. We made sure the enable_remote setting was set to True.
It doesn't work whether we store the files in public or private folder.
We tried applying some patches of similar issues (such as https://www.drupal.org/project/entity_print/issues/2944935 β†’ ) but it fails to apply (I noticed the code is already there so probably explains why it fails).
We tried using another PDF engine such as TCPDF but same issue, no image is displayed.
Running out of ideas here...
Can you help please?

The most annoying thing is that it seems to work fine locally, it's once pushed on our testing environment that it fails. We're having some IP restrictions set up there, could it be an issue? Or some file permission issues?

Open to any suggestions.

Thanks!

πŸ› Bug report
Status

Postponed: needs info

Version

2.13

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024