working with Laravel 9 project and I have following public_path with image access in the blade file
<img src="{{ $message->embed(public_path('images/logo.png')) }}" alt="" style="width: 300px; max-width: 600px; height: auto; margin: auto; display: block;">
this is working fine in my localhost and I have images folder in default public folder in the Laravel. but when I deploy My project to the shared hosting Hostgrator Laravel project public folder containts goes to the public_html
folder. any way my other images are working well in live server but above image path not working and encounted following error message
Swift_IoException Unable to open file for reading [/home3/abc/abc/public/images/logo.png]
I think it is because public_path in the image script. then how could I fix this problem here?