mardi 1 mars 2016

Fetch multiple image array and show in Gallery laravel 5

My images are in array format in database(image1,image2,image3). first of all i want fetch first image from database on homepage and then all the images in my gallery page this is my home page view if single image is there in database then image is coming correctly

 @foreach($val as $value)
<div class="property-item  col-sm-6 col-md-3 isotope-item" style="position:absolute; left: 0px; top: 0px; transform: translate3d(0px, 0px, 0px);">
<div class="property-box">
    <div class="property-box-inner">
        <div class="property-box-picture">
            <div class="">
                    <a href="#" class="property-box-picture-target">
                        <img src="images/test/{{$value->image}}" alt="">
                    </a>
             </div>
         </div>
     </div>
  </div>
</div>
@endforeach



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1VOKEJW
via IFTTT

Aucun commentaire:

Enregistrer un commentaire