fetch the uploaded image from database in laravel 5.1
<p>I have my upload function like this. I can upload the image but i cannot view it the blade.</p>

<p><strong>Controller</strong></p>

<pre><code>public function addProduct()
{

    return view('product.add_product');
}

public function saveProduct(Request $request)
{

    $details = Input::all();

    $product_validation = new Product;
        $validation = Validator::make($details,$product_validation-&gt;setRules());


        $destinationPath = '';
        $filename        = '';

        if (Input::hasFile('image')) {
            $file            = Input::file('image');
            $destinationPath = public_path().'/img/';
            $filename        = str_random(6) . '_' . $file-&gt;getClientOriginalName();
            $uploadSuccess   = $file-&gt;move($destinationPath, $filename);
        }

        if($validation-&gt;fails())
            return Redirect::to('/add_product')-&gt;withInput()-&gt;withErrors($validation);

        else
        {
            $product = new Product;
            $product-&gt;product_name                  = $details['product_name'];
            $product-&gt;product_description           = $details['product_description'];
            $product-&gt;price                         = $details['price'];
            $product-&gt;image                         = $destinationPath . $filename;
            $product-&gt;date_uploaded                 = $details['date_uploaded'];
            $product-&gt;save();

        }
        return view('product.add_product');
  }
</code></pre>

<p>And here's my <strong>view</strong></p>

<pre><code>&lt;img src="{{ asset('img/$details-&gt;image') }}" alt="{{ $details-&gt;product_name }}"&gt;
&lt;a href=""&gt;{!! $details-&gt;product_name !!}&lt;/a&gt;&lt;/h2&gt;
{!! $details-&gt;price !!}
</code></pre>

<p>I know that my image fetching didn't work but how can i do the right code? Hope you can help me guys. Thank you in advance. ^_^ </p>