@extends('frontend-v3.pages.layout') @section('page') @include('frontend-v3.pages.partials.styles') @php $albumTitle = $localized($record, 'title') ?: 'Gallery Album'; $images = $record->images->values()->map(function ($galleryImage) use ($imageUrl, $localized) { $asset = $galleryImage->image; return [ 'src' => $imageUrl($asset), 'caption' => $localized($galleryImage, 'caption') ?: $localized($galleryImage, 'title') ?: ($asset?->title_en ?: 'Kalakshetra gallery image'), ]; }); @endphp Gallery Album {{ $albumTitle }} Browse selected images from this album. Photo Collection {{ $images->count() }} image{{ $images->count() === 1 ? '' : 's' }} Back to albums @forelse ($images as $index => $image) = 8) hidden @endif> {{-- {{ $image['caption'] }} --}} @empty No images are published in this album yet. @endforelse @if ($images->count() > 8) Load more @endif @include('frontend-v3.pages.partials.gallery-load-more') @include('frontend-v3.pages.partials.image-lightbox') @endsection
Browse selected images from this album.
Photo Collection