@php $product = $product ?? null; $method = $method ?? 'POST'; $categoryOptions = $categories->pluck('name', 'id')->all(); $gallery = $product?->gallery ?? []; if (! is_array($gallery)) { $gallery = []; } @endphp
Current gallery ({{ count($gallery) }})
You can select multiple images. New images are appended to the gallery.