lundi 2 septembre 2019

image is not rendering DOM pdf

image is not rendering DOM pdf, here is my code

    $baseurl =  Config::get('app.baseurl');
    $logoImagepath = $baseurl.'/assets/images/logo.png';

    $invoicePDF = Config::get('settings.invoice');
    $invoicePDF = str_replace('#imagepath#', $logoImagepath, $invoicePDF);

    $pdf = PDF::loadView('pdf.order_detail',compact('invoicePDF'))->save($saveInvoicePdfPath);

html get from config, all HTML is render successfully but image is not showing in PDF.

if i print HTML code, image render successfully.

please suggest me solution.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire