我有以下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);
答案 0 :(得分:0)