Risolvere l'errore Image not found or type unknown in Dompdf
E' la prima che riscontro questo errore in Dompdf: Image not found or type unknown.
Forse perchè è la prima volta che provo a visualizzare una immagine presa tramite url.
Quindi, essendo sicuro che l'immagine esista e che il path sia corretto, ho capito che mi bastanza una semplice opzione:
$options = new Options();
$options->set('isRemoteEnabled', true);
$domPdf = new Dompdf($options);
// DO STUFF
Enjoy!
php dompdf isremoteenabled
Commentami!