@php $media = $getMedia(); $hasImagesOnly = $media->every(fn($m) => str_starts_with($m->mime_type, 'image/')); @endphp @if ($media->isEmpty())
{{ __('No files uploaded') }}
@elseif ($hasImagesOnly)
$media->count() > 1, ]) > @foreach ($media as $medium) @endforeach
@else
@foreach ($getMedia() as $media)
@if (str_starts_with($media->mime_type, 'image/')) {{ $media->name }} @else
@endif

{{ $media->name }}

{{ $media->human_readable_size }} {{ $media->extension }}

@if ($isPreviewable()) @endif
@endforeach
@endif