Please find the below code. When i print_r() the output, image shows in the webpage. But image is not showing in the PDF page. Can anyone please tell me what is wrong in my code?
$link = base_url();
foreach($defect_photos as $defect_photo){
$html1 .= "<td><img src='$link/uploads/defects/$defect_photo' border='0' height='500' width='500' align='right'></td>";
}
$html1 .= '</tr></table>';
//print_r($html1);
//exit;
$pdf->writeHTML($html1, true, false, true, false, '');
Thanks in advance