Storage::url();

Posted 1 year ago by Alderwiereld

Hello I have the following piece of code and is not working as i expect

use Illuminate\Support\Facades\Storage;

then in my method i am having

$url = Storage::url($profilepicvalue); //picvalue here is a variable storing the name of the image

return "" ;

this however is returning a blank page and i do no seem to locate where my error stands at i have already run the artisan storage:link command

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

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.