feat: 增加自定义头像上传、自动压缩与自动清理功能,统一全站头像路径读取逻辑
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
<div class="col-span-1 flex justify-center">
|
||||
<div
|
||||
class="w-10 h-10 rounded-md overflow-hidden bg-white border border-gray-200 shadow-sm shrink-0">
|
||||
<img src="/images/headface/{{ strtolower($inviter->headface ?: '1.gif') }}"
|
||||
<img src="{{ $inviter->headface_url ?? '/images/headface/1.gif' }}"
|
||||
onerror="this.style.display='none'" class="w-full h-full object-cover">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user