Home » Php » php – How I can display user profile picture on view laravel

php – How I can display user profile picture on view laravel

Posted by: admin February 25, 2020 Leave a comment

Questions:

Im having trouble when I try to display the user profile picture from logged user, I have my view called DayRequest, but I can’t make Laravel to show the user profile image, the image is stored in a different computer with the IP 10.57.2.98 I have the image address stored in a SQL Server Column, called Fotografia, and fotografia field has \10.57.2.98\Fotos_Empleados\userid.jpg

I tried <img src="10.57.2.98\Fotos_Empleados\10044.jpg" class="user-image" alt="User Image">

and <img src="{{\\10.57.2.98\Fotos_Empleados\10044.jpg}}" class="user-image" alt="User Image">

and my output shows 10.57.6.94\Fotos_Empleados\10044.jpg It doesn’t show anything, please help thanks

How to&Answers:

Your server shows nothing even in browser, so this is not laravel syntax issue, check your images server to send valid response.