,이미지 (CodeIgniter를, TCPDF, PHP)의 크기 CodeIgniter의를 사용하여 TCPDF에 사진을 표시 할 때 나는 문제가
이 내 PDF보기입니다 가져올 수 없습니다 :
$base_url=base_url();
// NON-BREAKING ROWS (nobr="true")
$tbleauproduct = <<<EOD
<br /><br /><br />
<table border="1" align="center">
<tr>
<th>picture</th>
<th>Product name</th>
<th>Price</th>
<th>Quantity</th>
</tr>
<tr>
<td><img src="$base_url/assets/$picture" /></td>
<td>$name</td>
<td>$price</td>
<td>$qty</td>
</tr>
</table>
EOD;
$pdf->writeHTML($tbleauproduct, true, false, true, false, '');
및
TCPDF ERROR: [Image] Unable to get the size of the image: http://localhost:8888/open_bay//assets/130501153059-htc-one-1024x576.jpeg
PDF 이미지되지 않습니다 :이 결과입니다. – Narf
가능한 [TCPDF 오류 : 이미지의 크기를 얻을 수 없음] (http://stackoverflow.com/questions/27060947/tcpdf-error-unable-to-get-the-size-of-the-image) –
코드 이미지 게시를 피하십시오. 항상 코드를 텍스트로 게시하십시오. 나는 당신을 위해 당신의 이미지를 대체했습니다. – mickmackusa