summaryrefslogtreecommitdiff
path: root/src/web/_views/template/pfp.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-04-01 15:02:51 -0400
committerFreya Murphy <freya@freyacat.org>2024-04-01 15:02:51 -0400
commit9ed46c335d6020b10f720d9738b8252d424dd24c (patch)
treefd8751ebf01472d16c6f1bb00797ba921a246d3f /src/web/_views/template/pfp.php
parentlogin and register, liking on homepage (diff)
downloadxssbook2-9ed46c335d6020b10f720d9738b8252d424dd24c.tar.gz
xssbook2-9ed46c335d6020b10f720d9738b8252d424dd24c.tar.bz2
xssbook2-9ed46c335d6020b10f720d9738b8252d424dd24c.zip
start custom banner and avatar loading
Diffstat (limited to 'src/web/_views/template/pfp.php')
-rw-r--r--src/web/_views/template/pfp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/_views/template/pfp.php b/src/web/_views/template/pfp.php
index aec7318..9a5a336 100644
--- a/src/web/_views/template/pfp.php
+++ b/src/web/_views/template/pfp.php
@@ -4,5 +4,5 @@
$class = isset($class) ? $class : '';
?>
<a class="image-loading pfp <?=$class?>" href="/profile?id=<?=$user['id']?>">
- <img src="/api/rpc/avatar?user_id=<?=$user['id']?>" />
+ <img src="/api/rpc/profile_avatar?user_id=<?=$user['id']?>"/>
</a>