@php $data = []; $data['title'] = "Manage Gallery"; @endphp @include('backend.components.header_link', $data)
@include('backend.components.menu')
@include('backend.components.navbar', $data)
@if(session('success'))
{{ session('success') }}
@endif
@forelse($images as $image) @empty @endforelse
ID Preview Title Category Description Link Actions
{{ $image->id }} @if($image->category === 'Photo' && !empty($image->image)) Gallery Image @elseif($image->category === 'Video' && !empty($image->video_url)) YouTube Video @else No Preview @endif {{ $image->category }} {{ $image->title }} {{ $image->description }} @if($image->category === 'Video' && !empty($image->video_url)) Open Link @else - @endif
@csrf @method('DELETE')
No gallery items found.
@include('backend.components.footer') @include('backend.components.footer_link')