我有以下HTML代码显示在pdf中,但图像标签不工作
$html.= "<h2>Header</h2>\n";
$html.= "<p>Text</p>\n";
$html.= "<img src=" . $path1 .">\n";
$pdf=new PDF_HTML();
$pdf->SetFont('Arial','',12);
$pdf->WriteHTML($html);
$pdf->Output('F',$filename);
发布于 2018-02-01 19:34:46
https://stackoverflow.com/questions/48561663
复制相似问题