Support the ongoing development of Laravel.io →
posted 9 years ago
Views Blade
Last updated 10 months ago.
0

try using <img src="{{ asset($store->logo_path ) }}">

Last updated 10 months ago.
0

The {{ }} shortcut is essentially just an echo, so as @mattcannon posted, you don't need to repeat the curly braces inside your first pair.

Last updated 10 months ago.
0

Rather than putting it inside asset, you can directly pass public folder name and image name to src, It will directly take the image from public folder of the server.

<img ng-src="images/@{{item.name}}.svg" aria-label="@{{item.name}}">
Last updated 5 years ago.
0

Sign in to participate in this thread!

LoadForge

Your banner here too?

Panoplr panoplr Joined 27 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.