@if(!empty($hotel->gallery_images))
@php $galleryArr = is_array($hotel->gallery_images) ? $hotel->gallery_images : json_decode($hotel->gallery_images, true); @endphp
@if(is_array($galleryArr) && count($galleryArr) > 0)
@foreach($galleryArr as $imagePath)
@if(file_exists(public_path($imagePath)))
 }})
@endif
@endforeach
@endif
@endif
Uploading brand new assets stream files will safely append them into current database array matrix.
@error('gallery_images.*')
{{ $message }}
@enderror