@php(
$position = 1
)
@for($i = 1; $i <= 3; $i++)
@for($j = 0; $j < 3; $j++)
@php(
$counter = 0
)
@foreach($value->images as $image)
@if($image->position == $position)
@if(isset($image->image))
![image]()
@endif
@php(
$counter++
)
@break
@endif
@endforeach
@if($counter == 0)
@endif
@php(
$position++
)
@endfor