Photo Gallery

@if ($isLoading)
@elseif ($error) @elseif (count($photos) === 0)

No photos yet

Upload photos to showcase this park.

@else @if ($viewMode === 'grid')
@foreach ($photos as $photo)
{{ $photo->alt_text ?? $photo->title ?? 'Park photo' }} @if ($photo->is_featured)
Featured
@endif
@if (!$photo->is_featured) @endif
@endforeach
@else
@foreach ($photos as $index => $photo)
{{ $photo->alt_text ?? $photo->title ?? 'Park photo' }} @if ($photo->is_featured)
Featured
@endif

{{ $photo->title ?? 'Untitled Photo' }}

@if ($photo->description)

{{ $photo->description }}

@endif @if ($photo->credit)

Credit: {{ $photo->credit }}

@endif
@endforeach
@foreach ($photos as $index => $photo) @endforeach
@endif @endif
@if ($selectedPhoto)
{{ $selectedPhoto->alt_text ?? $selectedPhoto->title ?? 'Park photo' }}

{{ $selectedPhoto->title ?? 'Untitled Photo' }}

@if ($selectedPhoto->description)

{{ $selectedPhoto->description }}

@endif
@if ($selectedPhoto->credit)
Credit:
{{ $selectedPhoto->credit }}
@endif @if ($selectedPhoto->source_url) @endif
Dimensions:
{{ $selectedPhoto->width }} × {{ $selectedPhoto->height }}
File Size:
{{ number_format($selectedPhoto->file_size / 1024, 2) }} KB
@if (!$selectedPhoto->is_featured) @endif
@endif