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>
@endforeach
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire