title: How to get image from resources in Laravel?
body: <p>I upload all user files to directory:</p>
  
  <pre><code>/resources/app/uploads/
  </code></pre>
  
  <p>I try to get image by full path:</p>
  
  <pre><code>http://localhost/resources/app/uploads/e00bdaa62492a320b78b203e2980169c.jpg
  </code></pre>
  
  <p>But I get error:</p>
  
  <pre><code>NotFoundHttpException in RouteCollection.php line 161:
  </code></pre>
  
  <p>How can I get image by this path?</p>
  
  <p>Now I try to uplaod file in directory /public/uploads/ in the root:</p>
  
  <pre><code>$destinationPath = public_path(sprintf("\\uploads\\%s\\", str_random(8)));
  $uploaded = Storage::put($destinationPath. $fileName, file_get_contents($file-&gt;getRealPath()));
  </code></pre>
  
  <p>It gives me error:</p>
  
  <pre><code>Impossible to create the root directory 
  </code></pre>