'How to print logo using spatie/browsershot

I'm trying to print a whole html page into PDF and to do this I used spatie/browsershot. I have added my logo and the path works well when displaying it on the UI using:

<img class="card-img-top bg-white" src="{{asset('/images/my-logo.png')}}" alt="my-logo">

How come it is not printing on the PDF? Is this the correct way to add src to the file or I forgot to setup something? All other images from google charts are printing



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source