Magento 2.4.5 pdf downloaded using mpdf not showing logo image

122 views Asked by At

Hi I'm using mpdf(in mageplaza module) to download my invoices as pdf in my magento 2.4.5 project and I get this issue of logo image not visible in downloaded pdf files recently. Earlier it was working fine. A red cross is showing for the logo as following

enter image description here

This issue is only in my aws server instances in my local env it's working fine. After I enabled image errors for mdpf using

$mpdf->showImageErrors = true;

I get this error "Could not find image file (https://uat.xxxxxx.com/media/mageplaza/pdfinvoice/default/logo.png)"

The only change I have done recently for my prod env was using cloudflare.And I have checked if it has blocked any paths and it's not blocking any.

Requesting your help!

0

There are 0 answers