Why the browser is not showing the full path which includes the the name of the image, instead it ends at the last folder “uploads”?
Elements tab
When I inspect from the browser it shows me this error in the “console” tab: “Failed to load resource: the server responded with a status of 403 (Forbidden)”.
Console tab
This is my code:
<img class="custom_img" src="{{ asset('assets/admin/uploads').'/'.$data['photo'] }}" alt="لوجو الشركة">
It is connected to a table in MySQL database on XAMPP, every other column in the table is updated without a problem except the image.
DB table
I have tried to clear the cache in the browser, and tried “php artisan dump-autoload”.