@if(strlen($path)>0) @php $image = base64_encode(file_get_contents($path)); $extension = pathinfo($path, PATHINFO_EXTENSION); @endphp
@endif