0
votes

I have a problem to show image that is in public folder.

My PDF print is in not in blade, it is in helper folder. Can that be the issue? I attached below two images of my code.

enter image description here

enter image description here

1
welcome to so, upload your code snippet in here not in image, see how to ask on stackoverflow - bhucho
also try to return $html, see if image loads in $html - bhucho

1 Answers

0
votes

please post you images here, not external links, how ever.

if you use a relative path to the images, the pdf loader don't know where load the file, so you have to use an absolute route, you can use the helper asset() to reference the public folder files

asset('images/raxca_logo.png')

also make sure in your .envfile you hace the correct url in the APP_URL variable