@props(['array_images', 'image_gallery_descriptions', 'id'])

#

Drop your files here, or choose file

Allowed JPG, PNG, PDF, DOC. Max size of 2MB

@if($array_images) @foreach ( $array_images as $index => $file) @if($file && !is_array($file) && $file->temporaryUrl()) @if($file->getClientOriginalExtension() == "png" || $file->getClientOriginalExtension() == "jpg" )
#
@if($image_gallery_descriptions && isset($image_gallery_descriptions[$id]) && isset($image_gallery_descriptions[$id][$index])) {{$image_gallery_descriptions[$id][$index]}} @endif
@endif @else
#
{{$file['description']}}
@endif @endforeach @endif
@if ($errors->has('files_uploaded')) {{ $errors->first('files_uploaded') }} @endif