Dompdf remote image is not displaying in pdf

I had the same problem, dompdf image not found on live server

I found its solution, you just need to double check the image path,

Considering your live server image path

<img src="http://www.example.com/public/images/thumb.png">

You just need to change it to,

<img src="public/images/thumb.png">

Note: Make sure that, all settings are same as you have already made.

I hope this will help you.


Try

$options = new Options();
$options->set('isRemoteEnabled', true);
$dompdf = new Dompdf($options);

Tags:

Php

Image

Dompdf