I have the following problem:
I need to make a query of images saved on the server to show them in a view
echo "<img src={{asset ('images/producto/{$producto->imagen}'}} title='{$producto->imagen}'/>";
I have the following problem:
I need to make a query of images saved on the server to show them in a view
echo "<img src={{asset ('images/producto/{$producto->imagen}'}} title='{$producto->imagen}'/>";
What Blade does in this case is nothing more than a kind of echo, therefore it would be redundant what you are doing (echo within another echo), something like this should work:
<img src={{ asset('images/producto/' . $producto->imagen) }} title='{{ $producto->imagen }}' />
I assume you are in a blade view for which I use the PHP style in HTML (and not the other way around as you were doing).