I have a multiple images in "Images" column in DB, and I need to display all Images in:
@foreach(explode(',', $posts->images) as $images)
<div class="col-lg-2 col-md-2 col-sm-2">
<a href="{{ URL::to('img/offers/'.$images)}}"
class="portfolio-box">
<img src="{{ URL::to('img/offers/'.$images)}}"
class="img-responsive" alt="--">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<span class="glyphicon glyphicon-zoom-in"
style="font-size: 80px"></span>
</div>
</div>
</a>
</div>
@endforeach
but it not working because link show like:
http://localhost:8000/img/offers/["149939592986Dynamic-Web.png"
and next image show like:
http://localhost:8000/img/offers/"149938949479Static-Web.png"]
now, what i do to display all images ?
my column in BD show like an array:
["149938949418Dynamic-Web.png","149938949479Static-Web.png"]
thank you.