The right syntax is :
<img src="{{ asset('img/users/' . Auth::user()->id . '.jpg') }}" />
{{ expression }}
act as
<?php echo expression; ?>
Tell me if it works.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community