PatrickL
230
10
Laravel

Storage:Link not Working Properly

Posted 7 months ago by PatrickL

I used the storage:link artisan command to generate a symlink to my application's assets for use in the views (logos, images, etc...). However, when I load my app to a Homestead VM, the images are not showing up on my views.

For instance, when I do something like:

 <img src="{{ URL::asset('storage/images/logo.png') }}" alt = {{ config('app.name') }} height = "50" width = "50">

to link to a file in

public/storage/images/logo.png

I get nothing.

What am I doing wrong?

Please sign in or create an account to participate in this conversation.