It sounds like you just need to create the symbolic link on the server as well. Run the same command you used locally to create the link and you should be fine.
Symbolic Link
Hello All,
I have created a symbolic link for my storage folder so that I am able to see the images that I upload in a view file. Locally I have done the link and it works a treat, I upload a image and it shows in the storage folder and then in the public folder so that I am able to access the images in the view. I have uploaded my changes to my remote server and the link seems to have stopped working, The upload works fine and I am getting the images in the storage folder and in the DB but when I go to the public folder they are not showing.
What am I doing wrong and how can I rectify the issue?
Thanks in advance.
Morning @sutherland,
Its a long story, I have worked out another way of doing this: So in the filesystem.php I have added the below under disks:
'uploads' => [
'driver' => 'local',
'root' => public_path() . '/images',
],
and then I referenced it in my code :
$icon = $request->icon->getClientOriginalName();
$main = $request->image->getClientOriginalName();
$request->icon->storeAs('uploads/icon', $icon, 'uploads');
$request->image->storeAs('uploads', $main, 'uploads');
Thanks for your help..
Please or to participate in this conversation.