I have the following problem:
I need to make a query for images saved on the server to display 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 for images saved on the server to display 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 what you are doing would be redundant (echo within another echo), something like this should work:
I'm assuming you're in a blade view for which I use PHP styling in HTML (and not the other way around like you were doing).