show highres in profiles instead of pixelated version

master
Aevann 2023-09-26 19:40:09 +03:00
parent 913fee2560
commit faada9f51c
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
<div class="d-md-flex text-center text-md-left"> <div class="d-md-flex text-center text-md-left">
<div id="profile--pfp" {% if u.hat_active(v)[0] %}class="profile--pfp--hat hat"{% endif %}> <div id="profile--pfp" {% if u.hat_active(v)[0] %}class="profile--pfp--hat hat"{% endif %}>
<a rel="nofollow noopener" href="{{pfp}}" class="profile-pic-100-wrapper"> <a rel="nofollow noopener" href="{{pfp}}" class="profile-pic-100-wrapper">
<img data-nonce="{{g.nonce}}" data-onclick="expandImage('{{pfp}}')" loading="lazy" src="{{u.profile_url}}" class="profile-pic profile-pic-100 mb-5"> <img data-nonce="{{g.nonce}}" data-onclick="expandImage('{{pfp}}')" loading="lazy" src="{{pfp}}" class="profile-pic profile-pic-100 mb-5">
{% if u.hat_active(v)[0] -%} {% if u.hat_active(v)[0] -%}
<img data-nonce="{{g.nonce}}" data-onclick="expandImage('{{pfp}}')" class="profile-pic-100-hat hat" loading="lazy" src="{{u.hat_active(v)[0]}}?x=6" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.hat_active(v)[1]}}"> <img data-nonce="{{g.nonce}}" data-onclick="expandImage('{{pfp}}')" class="profile-pic-100-hat hat" loading="lazy" src="{{u.hat_active(v)[0]}}?x=6" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.hat_active(v)[1]}}">
{%- endif %} {%- endif %}
@ -305,7 +305,7 @@
<div class="col"> <div class="col">
<div style="margin-top: -34px" id="profile-mobile--pfp"> <div style="margin-top: -34px" id="profile-mobile--pfp">
<a rel="nofollow noopener" href="{{pfp}}" class="profile-pic-65-wrapper"> <a rel="nofollow noopener" href="{{pfp}}" class="profile-pic-65-wrapper">
<img data-nonce="{{g.nonce}}" data-onclick="expandImage('{{pfp}}')" loading="lazy" src="{{u.profile_url}}" class="profile-pic-65 bg-white mb-2"> <img data-nonce="{{g.nonce}}" data-onclick="expandImage('{{pfp}}')" loading="lazy" src="{{pfp}}" class="profile-pic-65 bg-white mb-2">
{% if u.hat_active(v)[0] -%} {% if u.hat_active(v)[0] -%}
<img data-nonce="{{g.nonce}}" data-onclick="expandImage('{{pfp}}')" class="profile-pic-65-hat hat" loading="lazy" src="{{u.hat_active(v)[0]}}?x=6"> <img data-nonce="{{g.nonce}}" data-onclick="expandImage('{{pfp}}')" class="profile-pic-65-hat hat" loading="lazy" src="{{u.hat_active(v)[0]}}?x=6">
{%- endif %} {%- endif %}