From a05c38cec6ee8eebceffd85ecba3327747f19219 Mon Sep 17 00:00:00 2001 From: PaulMcRoar Date: Tue, 1 Dec 2020 09:52:17 +0000 Subject: [PATCH] Remind people of the need to run storage:link People, like me, following this as a step-by-step from a clean laravel installation would not have been prompted to run php artisan storage:link , and the reference to this command is only in 'digging deeper' in the main laravel docs. We either need to prompt people to run the command, or point them at the filesystem section of the main laravel docs. (Otherwise they can spend a frustrating hour or so!) --- 1.x/features/profile-management.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/1.x/features/profile-management.md b/1.x/features/profile-management.md index a6316ce..ef994c0 100644 --- a/1.x/features/profile-management.md +++ b/1.x/features/profile-management.md @@ -33,6 +33,13 @@ If you wish to allow users to upload custom profile photos, you must enable the Features::teams(), ], ``` +You should also remember to run + +```bash +php artisan storage:link +``` +in order to setup the links necessary to store and make the image files accessible. + ### Managing Profile Photos @@ -42,6 +49,7 @@ This trait contains methods such as `updateProfilePhoto`, `getProfilePhotoUrlAtt The `updateProfilePhoto` method is the primary method used to store profile photos and is called by the `UpdateUserProfileInformation` action. + :::tip Laravel Vapor By default, the `s3` disk will be used automatically when your application is running within [Laravel Vapor](https://vapor.laravel.com).