@once @endonce {{ $gallery->title }} @if ($gallery->description) {{ $gallery->description }} @endif @foreach ($gallery->images as $image) @php $imageUrl = Storage::disk('public')->url($image->image_path); $caption = $image->title ?: $gallery->title; @endphp @if ($image->title) {{ $image->title }} @endif @endforeach
{{ $gallery->description }}