title: Laravel 8 Fortify update image during updating profile
body: <p>I can update my email and password but i can't udpate my profile photo.
  Here is my code which i wrote.I don't know where I did it wrong, could you help me?I guess i missed something about of ProfileInformationController.php in Fortify</p>
  <pre><code> &lt;form method=&quot;POST&quot; action=&quot;{{ route('user-profile-information.update') }}&quot;   enctype=&quot;multipart/form-data&quot;&gt;
                              @csrf
                              @method('PUT')
  
  
                              &lt;div class=&quot;form-group row&quot;&gt;
                                  &lt;label for=&quot;name&quot; class=&quot;col-md-4 col-form-label text-md-right&quot;&gt;{{ __('Photo') }}&lt;/label&gt;
  
                                  &lt;div class=&quot;row&quot;&gt;
  
                                      &lt;div class=&quot;form-group col-md-6&quot;&gt;
                                          &lt;label for=&quot;exampleInputName1&quot;&gt;Profile Image Upload&lt;/label&gt;
                                          &lt;input type=&quot;file&quot; name=&quot;profile_photo_path&quot; class=&quot;form-control-file&quot; id=&quot;profile_photo_path&quot;&gt;
                                      &lt;/div&gt;
  
                                  &lt;/div&gt; &lt;!-- End Row  --&gt;
                              &lt;/div&gt;
  
                              
  
                              &lt;div class=&quot;form-group row&quot;&gt;
                                  &lt;label for=&quot;name&quot; class=&quot;col-md-4 col-form-label text-md-right&quot;&gt;{{ __('Name') }}&lt;/label&gt;
  
                                  &lt;div class=&quot;col-md-6&quot;&gt;
                                      &lt;input id=&quot;name&quot; type=&quot;name&quot; class=&quot;form-control @error('name') is-invalid @enderror&quot; name=&quot;name&quot; value=&quot;{{ old('name') ?? auth()-&gt;user()-&gt;name }}&quot; required autocomplete=&quot;name&quot; autofocus&gt;
  
                                      @error('name')
                                      &lt;span class=&quot;invalid-feedback&quot; role=&quot;alert&quot;&gt;
                                          &lt;strong&gt;{{ $message }}&lt;/strong&gt;
                                      &lt;/span&gt;
                                      @enderror
                                  &lt;/div&gt;
                              &lt;/div&gt;
  
                              &lt;div class=&quot;form-group row&quot;&gt;
                                  &lt;label for=&quot;email&quot; class=&quot;col-md-4 col-form-label text-md-right&quot;&gt;{{ __('E-Mail Address') }}&lt;/label&gt;
  
                                  &lt;div class=&quot;col-md-6&quot;&gt;
                                      &lt;input id=&quot;email&quot; type=&quot;email&quot; class=&quot;form-control @error('email') is-invalid @enderror&quot; name=&quot;email&quot; value=&quot;{{ old('email') ?? auth()-&gt;user()-&gt;email }}&quot; required autocomplete=&quot;email&quot; autofocus&gt;
  
                                      @error('email')
                                      &lt;span class=&quot;invalid-feedback&quot; role=&quot;alert&quot;&gt;
                                          &lt;strong&gt;{{ $message }}&lt;/strong&gt;
                                      &lt;/span&gt;
                                      @enderror
                                  &lt;/div&gt;
                              &lt;/div&gt;
  
  
                              &lt;div class=&quot;mb-0 form-group row&quot;&gt;
                                  &lt;div class=&quot;col-md-8 offset-md-4&quot;&gt;
                                      &lt;button type=&quot;submit&quot; class=&quot;btn btn-primary&quot;&gt;
                                          {{ __('Update Profile') }}
                                      &lt;/button&gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;
                          &lt;/form&gt;
  </code></pre>