diff --git a/apps/pink/src/components/JoinCommunity.svelte b/apps/pink/src/components/JoinCommunity.svelte index 15780f6a67..48af5a0921 100644 --- a/apps/pink/src/components/JoinCommunity.svelte +++ b/apps/pink/src/components/JoinCommunity.svelte @@ -22,7 +22,13 @@ }); function getAvatar(user: User) { - return `https://github.com/${user.username}.png`; + const url = new URL('https://cloud.appwrite.io/v1/avatars/image'); + url.searchParams.set('project', 'console'); + url.searchParams.set('width', '100'); + url.searchParams.set('height', '100'); + url.searchParams.set('url', `https://github.com/${user.username}.png`); + + return url.toString(); } function getUrl(user: User) {