{{-- onload="init()"--}} @if (in_array(strtolower(pathinfo($attributes['img'],PATHINFO_EXTENSION)),['png','jpg','gif','jpeg'])) @else

{{strtolower(pathinfo($attributes['img'],PATHINFO_EXTENSION))}}
{{pathinfo($attributes['img'],PATHINFO_DIRNAME)}} /{{pathinfo($attributes['img'],PATHINFO_BASENAME)}}

@endif
@method('put') @csrf
{{$attributes['alt']}}
@csrf @method('delete')
{{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}}