@php use Illuminate\Support\Facades\Auth; $user = Auth::guard('web')->user(); @endphp @if ($user->image) thumb @else thumb @endif