test avatar randomiser

This commit is contained in:
uuupah committed 2023-11-15 22:09:26 +10:30
1 parent 2f13928ebb
commit c5f9905ba6
4 files changed
+6 -4

No files matched your search

+1 -3
View File
@@ -1,6 +1,4 @@
import sys import sys, os, re
import os
import re
from PIL import Image as im from PIL import Image as im
# width in pixels # width in pixels
Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

+5 -1
View File
@@ -1,7 +1,11 @@
<a href="/" class="profile-img-link"> <a href="/" class="profile-img-link">
<img class="profile-img" src="/_assets/img/dp.webp" alt=""/> <img class="profile-img" src="/_assets/img/dp/0.jpeg" alt=""/>
</a> </a>
<div class="sidebar-contents"> <div class="sidebar-contents">
{% include 'partials/navigation.njk' %} {% include 'partials/navigation.njk' %}
<img src="/_assets/img/143.gif" alt=""/> <img src="/_assets/img/143.gif" alt=""/>
</div> </div>
{# <script>
document.getElementById("profile-image").src="/_assets/img/dp/" + Math.floor(Math.random()*3) + ".jpg";
</script> #}