You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/segments/gallery/GallaryGrid/GallaryGrid.blade.php

16 lines
681 B
PHTML

<section class='GallaryGrid'>
<div class="{{gfx()['container']}}">
<div class="row py-4">
@if($gallery->images->count() > 0)
@foreach($gallery->images as $image)
<div class="col-lg-3 col-md-6 mb-4">
<a class="gallery-image light-box" data-toggle="lightbox" data-gallery="{{$gallery->slug}}" href="{{$image->imgOriginalUrl()}}">
<img src="{{$image->imgurl()}}" class="img-fluid" alt="{{$image->title}}" title="{{$image->title}}">
</a>
</div>
@endforeach
@endif
</div>
</div>
</section>