Latest

Thursday, July 6, 2017

Get Image from the Storage Folder in View - Laravel 5.4

Asked by: Anna Jeanine


I'm trying to show the default.jpg avatar picture in my Laravel 5.4 profile.blade.php.

  • I created a link between the public folder and the storage folder with: php artisan storage:link.
  • The file is stored:

enter image description here

  • I check in the source code of my webpage which showed the src="/public/storage/uploads/avatar/default.jpg"

But still no image could be found. Could someone explain to me what I am missing?



Source

No comments:

Post a Comment

Adbox