我遇到了dompdf的问题,我插入的图片在转换为pdf文件时不会读取
当我使用
将其加载到dompdf时php方法
<img src="<?php echo $_POST["sig"]; ?>" />
我得到一个带有X的方框缩略图
它说 “图像不是真实图像不可读或空” 我的图像的网址以文字打印
但是当我使用整个网址时
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAADICAYAAADGFbfiAAAgAElEQVR4Xu3dCdh9Wz0H8EKi2RBF5Y2QoZGkNNwmXGQIEak/paSUW92bpLwliWR2Uxn+SS4SyZAm/le3OSFUhngz3BAJGTP9Pk9n9Zx7Ouc95+yzzzl7v//v73l+z3mHs9de67vX/s1rrctfLhQEgkAQCAJBoAMCl+9wTS4JAkEgCASBIHC5KJBMgiAQBIJAEOiEQBRIJ9hyURAIAkEgCESBZA4EgSAQBIJAJwSiQDrBlouCQBAIAkEgCiRzIAgEgSAQBDohEAXSCbZcFASCQBAIAlEgmQNBIAgEgSDQCYEokE6w5aIgEASCQBCIAskcCAJBIAgEgU4IRIF0gi0XBYEgEASCQBRI5kAQCAJBIAh0QiAKpBNsuSgIBIEgEASiQDIHgkAQCAJBoBMCUSCdYMtFQSAIBIEgEAWSORAEgkAQCAKdEIgC6QRbLgoCQSAIBIEokMyBIBAEgkAQ6IRAFEgn2HJREAgCQSAIRIFkDgSBIBAEgkAnBKJAOsGWi4JAEAgCQSAKJHMgCASBIBAEOiEQBdIJtlwUBIJAEAgCUSCZA0EgCASBINAJgSiQTrDloiAQBIJAEIgCyRwIAkEgCASBTghEgXSCLRcFgSAQBIJAFEjmQBAIAkEgCHRCIAqkE2y5KAgEgSAQBKJAMgeCQBAIAkGgEwJRIJ1gy0VBIAgEgSAQBZI5EASCQBAIAp0QiALpBFsuCgJBIAgEgSiQzIEgEASCQBDohEAUSCfYclEQCAJBIAhEgWQOBIEgEASCQCcEokA6wZaLgkAQCAJBIAokcyAIBIEgEAQ6IRAF0gm2XBQEgkAQCAJRIJkDQSAIBIEg0AmBKJBOsOWiIBAEgkAQiALJH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QCAJrIjAkBSIf8gPFNlu8YvEHFL+o2Jbqr1lzXMd9/Qr1T+dxvL749j22m6aCQBAIAmcVAkNSIICnPFRF3a74LsVXLVZa+7TiC3p6MtagSNo7xCkUBIJAEAgCHREYmgKZHYa1GTwQazPkKTY9DveN1caViiXOQ0EgCASBILABAkNXIIbGK1HqK2/x5mIeiuNx16VX1AU2SXQSYCgIBIEgEAQ2RGAMCqQN0QFPthmxj9YjitfZjNE55HcsvmGxHYFDQSAIBIEgsCECY1Ighupwp3OLHQlr+xGluMsOp3KNdSZ3Lr54Q7xyeRAIAkEgCEwQGJsC0e0vKH5CsWoqa0cclfuDxW+d81TlTx5efGqicPLgg0AQCAJBoCcExqhA2tCFsR5abAfdGxQrAbZ+5Kj4esVPKVZp5XtP6gmvNBMEgkAQCAITBMasQNpDfFD9cN7kF6GtqxRbQ2J79gcUJ2yV6R4EgkAQ2AICJ0GBNFhshnhQ/CHFFh7aYTcUBIJAEAgCW0LgJCmQLUGUZoNAEAgCQWAeAlEgmRdBIAgEgSDQCYEokE6w5aIgEASCQBCIAskcCAJBIAgEgU4IRIF0gi0XBYEgEASCQBRI5kAQCAJBIAh0QiAKpBNsuSgIBIEgEASiQDIHgkAQCAJBoBMCUSCdYMtFQSAIBIEgEAWSORAEgkAQCAKdEIgC6QRbLgoCQSAIBIEokMyBIBAEgkAQ6IRAFEgn2HJREAgCQSAIRIFkDgSBIBAEgkAnBKJAOsGWi4JAEAgCQSAKJHMgCASBIBAEOiEQBdIJtlwUBIJAEAgCUSCZA0EgCASBINAJgSiQTrDloiAQBIJAEIgCyRwIAkEgCASBTghEgXSCLRcFgSAQBIJAFEjmQBAIAkEgCHRC4P8BUfEKQQ2Gnb4AAAAASUVORK5CYII=" />
它显示得很好。
这可能是什么解决方案?
答案 0 :(得分:2)
我遇到了完全相同的问题,没有为我显示图像 - 背景图像和内联图像。
我必须在您的配置DOMPDF_ENABLE_REMOTE
dompdf_config.inc.php
设置为true
如果您已启用DOMPDF_ENABLE_PHP
答案 1 :(得分:0)
您是否将此代码直接加载到dompdf:
$html = '<img src="<?php echo $_POST["sig"]; ?>" />';
$dompdf->load_html($html);
或
$dompdf->load_html_file(foo.php);
或者您正在加载已处理的PHP文档:
$html = '<img src="' . $_POST["sig"]; . '" />';
$dompdf->load_html($html);
或
$dompdf->load_html_file('http://example.com/foo.php');
如果在将内容加载到dompdf之前没有处理PHP内容,则根本不会处理它。默认情况下(从0.6.0开始)不处理HTML文档中的任何PHP代码。您必须将DOMPDF_ENABLE_PHP设置为true。
答案 2 :(得分:0)
我遇到了同样的问题。
通过设置文件dompdf_config.inc.php
:
def ('DEBUGKEEPTEMP', true);
希望这有帮助。
答案 3 :(得分:0)
将DEBUGKEEPTEMP设置为true可以正常工作,但如果你是偏执狂,并且担心打开它的效果,你也可以添加self :: $ _ cache = array();到类Image_Cache的clear();
的结尾