How to show uploaded image in Laravel blade template?
<p>I have searched about my problem and i have found some solution but those are not solve my problem.I am using laravel 5.2 and here i want to upload an image and show it in view.I can upload any image and it works well.But two things is:</p>

<ol>
<li>I see that in database <code>profilePic</code> coloumn is <code>null</code>.But images are
perfectly uploaded in my <strong>public/img</strong> folder.</li>
<li>And How can i show it in view?</li>
</ol>

<p>My <strong>ProfileController</strong>'s store data like this:</p>

<pre><code>$file = array('profilePic' =&gt; Input::file('profilePic'));

$destinationPath = 'img/'; // upload path
$extension = Input::file('profilePic')-&gt;getClientOriginalExtension(); 
$fileName = rand(11111,99999).'.'.$extension; // renaming image
Input::file('profilePic')-&gt;move($destinationPath, $fileName); 

Profile::create($profile);
</code></pre>

<p>And my profile blade like this:</p>

<pre><code>@foreach($profiles as $profile)
    &lt;tr&gt;
        &lt;td&gt; &lt;img src='{{ asset($profile-&gt;profilePic) }}'&gt; &lt;/td&gt;
    &lt;/tr&gt;  
@endforeach
</code></pre>

<p>Where is the problem in my code? Please help.I am beginner in Laravel.
Thanks in Advance.</p>