Added unique avatar ID for theme makers
This commit is contained in:
parent
95232d661a
commit
cb3e58ad25
|
@ -1,8 +1,8 @@
|
|||
<!-- Your Image Here -->
|
||||
@if(file_exists(base_path(findAvatar($userinfo->id))))
|
||||
<img alt="avatar" class="rounded-avatar fadein" src="{{ url(findAvatar($userinfo->id)) }}" height="128px" width="128px" style="object-fit: cover;">
|
||||
<img alt="avatar" id="avatar" class="rounded-avatar fadein" src="{{ url(findAvatar($userinfo->id)) }}" height="128px" width="128px" style="object-fit: cover;">
|
||||
@elseif(file_exists(base_path("assets/linkstack/images/").findFile('avatar')))
|
||||
<img alt="avatar" class="fadein" src="{{ url("assets/linkstack/images/")."/".findFile('avatar') }}" height="128px" width="128px" style="object-fit: cover;">
|
||||
<img alt="avatar" id="avatar" class="fadein" src="{{ url("assets/linkstack/images/")."/".findFile('avatar') }}" height="128px" width="128px" style="object-fit: cover;">
|
||||
@else
|
||||
<img alt="avatar" class="fadein" src="{{ asset('assets/linkstack/images/logo.svg') }}" height="128px" style="width:auto;min-width:128px;object-fit: cover;">
|
||||
<img alt="avatar" id="avatar" class="fadein" src="{{ asset('assets/linkstack/images/logo.svg') }}" height="128px" style="width:auto;min-width:128px;object-fit: cover;">
|
||||
@endif
|
Loading…
Reference in New Issue