title: Unable to display uploaded image - laravel 5.4
body: <p>I am able to get the file uploaded in server but the file is not displayed in the view. I checked the chrome console network tab and it seems while fetching the file system is getting exception <strong>404 NotFoundHttpException in RouteCollection.php (line 179)</strong>. </p>
  
  <p>Below is my <strong>filesystem.php</strong> configuration:</p>
  
  <pre><code>//filesystem.php
  'default' =&gt; env('FILESYSTEM_DRIVER', 'public'),
  .
  .
  .
  .
  'disks' =&gt; [
  
      'local' =&gt; [
          'driver' =&gt; 'local',
          'root' =&gt; storage_path('app'),
      ],
  
      'public' =&gt; [
          'driver' =&gt; 'local',
          'root' =&gt; storage_path('app/public'),
          'url' =&gt; env('APP_URL').'/storage',
          'visibility' =&gt; 'public',
      ],
  
      's3' =&gt; [
          'driver' =&gt; 's3',
          'key' =&gt; env('AWS_KEY'),
          'secret' =&gt; env('AWS_SECRET'),
          'region' =&gt; env('AWS_REGION'),
          'bucket' =&gt; env('AWS_BUCKET'),
      ],
  
  ],
  </code></pre>
  
  <p>Here is the excerpt from the controller where i am storing the file:</p>
  
  <pre><code>//file:AvatarController.php
  $new_file_name = Storage::disk('public')
                   -&gt;putFile('avatars',$request-&gt;file('avatar'));
  </code></pre>
  
  <p>I can see the file in the <strong>Storage/app/public/avatars</strong> folder which means file upload is successful. But the file is not being loaded in the view. The image element has the href attribute:</p>
  
  <pre><code>&lt;img src="http://tddforum.com/avatars/Aew15JlTZAIrldYR6gXyFJ0lriK4p1vhVNim5oBo.jpeg" alt="johnDoe" with="100" height="100"&gt;
  </code></pre>
  
  <p>I have also created the symbolic link between the <strong>public</strong> folder and the <strong>Storage/app</strong> folder</p>
  
  <p>What am i doing wrong here? Please let me know if you need any more inforation.</p>
  
  <p>Thanks,</p>