@php use App\Models\Admin\Settings; use App\Libraries\Helper; use App\Models\User\UserAuth; use App\Libraries\FileSystem; use App\Libraries\General; $favicon = Settings::get('favicon'); $logo = Settings::get('logo'); $user = UserAuth::getLoginUser(); if(str_contains($user->image,'https://lh3.googleusercontent.com/')) { $profile_image = $user->image; } else { $profile_image = General::renderProfileImage(FileSystem::getAllSizeImages($user->image), 'large'); } @endphp @extends('frontLayout.frontlayout') @section('content')
{{-- @include('frontend.partials.flash_messages') --}}
...
Profile Image
  • image,'https://lh3.googleusercontent.com/') || str_contains($profile_image,'noprofile.png') ? 'class=d-none' : '' }}>

{{ __('userBasicInfo.upload_img') }}

{{ csrf_field() }}
{{-- --}}
{{--
--}}
@endsection