title: Laravel Backpack Image Field Type: Store Images with Original File Name
body: <p>I'm working on a image upload using the <a href="https://laravel-backpack.readme.io/v3.0/docs/crud-fields#section-image" rel="nofollow noreferrer">Laravel Backpack image Field Type</a> documentaion.</p>
  
  <p>On their mutator example, they use a md5 filename, however I want to use the original file name when storing the file.</p>
  
  <pre><code>// if a base64 was sent, store it in the db
      if (starts_with($value, 'data:image'))
      {
          // 1. Make the image
          $image = \Image::make($value);
          // 2. Generate a filename.
          $filename = md5($value.time()).'.jpg';
          // 3. Store the image on disk.
          \Storage::disk($disk)-&gt;put($destination_path.'/'.$filename, $image-&gt;stream());
          // 4. Save the path to the database
          $this-&gt;attributes[$attribute_name] = $destination_path.'/'.$filename;
      }
  </code></pre>
  
  <p>I know I need to edit step 2, but not entirely sure how, and feel like I might need to edit step 1.</p>
  
  <p>Bonus question just to help my understanding: what is the '\' for in step one "\Image::..."</p>