title: How do I add images in laravel view?
body: <p>The thing is, my image is not directly present in my view</p>
  
  <pre><code>Route::Get('saakshar',function()
  {
  return view('version1');
  });
  </code></pre>
  
  <p>and in my version1.blade.php</p>
  
  <pre><code>&lt;?php
  include(app_path()."/../resources/views/fronthead.blade.php");
  ?&gt;
  </code></pre>
  
  <p>I know using php commands in blade file is not efficient or good in any manner, but blade command is not working, but that's not my main problem here.</p>
  
  <p>and in my fronthead.blade.php</p>
  
  <pre><code>&lt;img src='app_path()."/../resources/views/photos/logo.png"' alt="no logo"&gt;
  </code></pre>
  
  <p>I haven't learned fully the blade language, so for time being i am using php commands. </p>
  
  <p>But my problem is, why isn't the photo loading in the webpage? Is the URL wrong? Did I place the "photos" folder in the wrong place? </p>
  
  <p>Edit: I've even tried to place the photo is the same folder as fronthead.blade.php and changed the src tag.</p>
  
  <p>I've even tried giving a separate Route::Get() from fronthead.blade.php, but still the problem persists.</p>