@if(!empty($pin))
@if($pin->HasPhoto > 0)
@if(@file_get_contents("https://s3.us-central-1.wasabisys.com/partswarehouse/photos/".(!empty($ClientMap) ? $ClientMap->ProductCode: '')."-2.jpg",0, $context, 0, 1))
@php $is_image[2]=1; @endphp
@if(@file_get_contents("https://s3.us-central-1.wasabisys.com/partswarehouse/photos/".(!empty($ClientMap) ? $ClientMap->ProductCode: '')."-3.jpg",0, $context, 0, 1))
@php $coln = 9; @endphp
@php $is_image[2]=1; @endphp
@php $is_image[3]=1; @endphp
@if(@file_get_contents("https://s3.us-central-1.wasabisys.com/partswarehouse/photos/".(!empty($ClientMap) ? $ClientMap->ProductCode: '')."-4.jpg",0, $context, 0, 1))
@php $is_image[4]=1; @endphp
@endif
@if($pin->HasPhoto > 0)
@if(!empty($is_image[2]))
@if(!empty($is_image[3]))
@if(!empty($is_image[2]))
@endif
@if(!empty($is_image[3]))
@endif
@if(!empty($is_image[4]))
@endif
@else
 ? $ClientMap->ProductCode: '' }}-2.jpg)
@endif
@else
@if(!empty($pin->Manufacturer))
@if(!empty($is_manufacturer_horizontal))
@else
@endif
@if(!empty($is_manufacturer_horizontal_mobile))
@else
Image: No image yet.
@endif
@else
NO IMAGE
 ? $ClientMap->ProductCode: '' }}-2.jpg)
@endif
@endif
@else
@if(!empty($pin->Manufacturer))
@if(!empty($is_manufacturer_horizontal))
@else
@endif
@if(!empty($is_manufacturer_horizontal_mobile))
@else
Image: No image yet.
@endif
@else
NO IMAGE
 ? $ClientMap->ProductCode: '' }}-2.jpg)
@endif
@endif