Have you tried this ?
Jun 7, 2023
5
Level 2
Not showing image in DOM PDF generated PDF
Dear Friends,
I try to access an image from assets folder in PDF created using DOM PDF. I tried many options but not working
I tried as <img src="{{ public_path('assets/applicant_photo/KSRTC-10220231001.jfif') }}" width="85" height="95" >
Image not found or type unknown in DOMPDF erro got . I tried this <img src="{{ base_path('public/assets/applicant_photo/KSRTC-10220231001.jfif') }}" width="85" height="95">
but not working ...Please advise
Thanks Anes P .A
Please or to participate in this conversation.