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.
then I edit my App Service Provider.php and server.php as well for public_html
any way my other images are working well in live server but above image path when i tryed to submit contact form data with email sending (site logo include with email attachment) uncounted following error message
Swift_IoException Unable to open file for reading [/home3/abc/abc/public_html/images/logo.png]
The issue is that the path to the image is incorrect on the shared hosting server. Instead of using public_path(), you should use asset() to generate the correct URL for the image.