In the order template, this error shows up in the generated PDFs when adding standard JPG images. We're running Commerce 1.2.x on PHP70.
It could be related to this dompdf issue, but how do we fix it in Craft Commerce?
In the order template, this error shows up in the generated PDFs when adding standard JPG images. We're running Commerce 1.2.x on PHP70.
It could be related to this dompdf issue, but how do we fix it in Craft Commerce?
Try setting:
'pdfAllowRemoteImages' => true,
in your commerce.php config file.
commerce.php
config file you create in your /config
directory will never be overridden. Just don't edit the config.php file in the commerce directory.
Commented
Jul 6, 2018 at 4:18