title: Get / Read laravel 5.8 Storage non public Folder files to View?
body: <blockquote>
    <p>Try to access 'storage/app/folder1/a.png' from my view </p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/HQMiL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HQMiL.png" alt="enter image description here"></a></p>
  
  <pre><code>public function viewStorageFiles()
  {
      $fileFullPath = Storage::disk('local')-&gt;path('folder1/a.png');
      $fileUrl = Storage::disk('local')-&gt;url('app/folder1/a.png');
      $storage_path = storage_path('app/folder1/a.png');
  
      return view('email.fileDownload')-&gt;with([
          'fileFullPath' =&gt; $fileFullPath,
          'fileUrl' =&gt; $fileUrl,
          'storage_path' =&gt; $storage_path,
          ]);
  }
  </code></pre>
  
  <blockquote>
    <p>In view : email.fileDownload </p>
  </blockquote>
  
  <pre><code>&lt;div&gt;
      &lt;p&gt;  asset($fileUrl) ==&gt; {{asset($fileUrl)}}&lt;/p&gt;
      &lt;img src="{{asset($fileUrl)}}"/&gt;
  &lt;/div&gt;
  &lt;div&gt;
      &lt;p&gt;  url($fileUrl) ==&gt; {{url($fileUrl)}}&lt;/p&gt;
      &lt;img src="{{url($fileUrl)}}"/&gt;
  &lt;/div&gt;
  &lt;div&gt;
      &lt;p&gt;  storage_path($fileUrl) ==&gt; {{storage_path($fileUrl)}}&lt;/p&gt;
      &lt;img src="{{storage_path($fileUrl)}}"/&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>the result is : <a href="https://i.stack.imgur.com/T1vgC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/T1vgC.png" alt="enter image description here"></a></p>