lundi 9 septembre 2019

how display database stored images in laravel

i want to retrieve images in web page directly from database saved images.how make a path?

               @foreach($dw as $ad)
                <!-- single product -->
                <div class="col-lg-4 col-md-6">
                    <div class="single-product">
                    <!---->

                         <img class="img-fluid" src= "" alt="">

                        <div class="product-details">
                            <h5></h5>
                            <div class="price">
                                <h6></h6>
                                <p></p>
                            </div>
                            <div class="prd-bottom"><a href="submitcv.html">Send Your CV</a></div>
                        </div>
                    </div>
                </div>@endforeach

diligentsController

   public function jaa(Request $request)
   {

    $de = diligent::all();
    $de->image = $request->image;



    return view('jobs')->with('dw', $de);

how i'm retrieve images?i tried this and only show file name



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire