misc: Switch to thumbnails for avatars
This commit is contained in:
1 parent
cf372442d8
commit
ce19dd3a17
9 files changed
+45
-29
No files matched your search
@@ -6,7 +6,8 @@
|
||||
</script>
|
||||
|
||||
<img
|
||||
src={url ?? `https://api.dicebear.com/6.x/initials/svg?seed=${alt}`}
|
||||
src={`${url}?format=webp&thumbnail=${width * 2}` ??
|
||||
`https://api.dicebear.com/6.x/initials/svg?seed=${alt}`}
|
||||
{alt}
|
||||
{width}
|
||||
loading="lazy"
|
||||
|
||||
Reference in new issue
Block a user