I have an issue with a view and generated content to produce a PDF.At the moment, I've been working with mpdf\mpdf , but when i want to show the image on the view , error occurs .
My controller :
$view = View::share('data', $data);
$mpdf= new \Mpdf\Mpdf([
'mode'=>'UTF-8','format' => [400, 400],'autoScriptToLang'=>true,'autoLangToFont'=>true
]);
$mpdf->WriteHTML(view('frontend.create-cv.pdf',compact('data')));
My blade :
<img src="/frontend/assets/images/cv/">
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/a4fD3Ec
via IFTTT
Aucun commentaire:
Enregistrer un commentaire