💩 | Harcode de l'avatar pour ne plus en avoir un de >400ko

This commit is contained in:
Kazhnuz 2024-11-30 17:44:01 +01:00
parent f44df1040b
commit 90b16d01ff
4 changed files with 2 additions and 1 deletions

Binary file not shown.

BIN
img/avatar/admin/ava128.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -29,7 +29,8 @@
<aside class="card card-noheader article-meta">
<div class="card-body">
<div class="author-area p-author h-card">
<img alt="" src="<?php echo $page->user('profilePicture');?>" srcset="https://secure.gravatar.com/avatar/8a4aed71aeec9f65c9e098d81ff12638?s=240&amp;d=mm&amp;r=g 2x" class="avatar avatar-120 photo" height="120" width="120" decoding="async"> <div class="author-metadata">
<img alt="" src="<?php echo HTML_PATH_THEME_IMG; ?>/admin/ava128.jpg" srcset="https://secure.gravatar.com/avatar/8a4aed71aeec9f65c9e098d81ff12638?s=240&amp;d=mm&amp;r=g 2x" class="avatar avatar-120 photo" height="120" width="120" decoding="async">
<div class="author-metadata">
<div class="author-pseudo">Écrit par <a href="https://kazhnuz.space" class="u-url p-name"><?php echo $page->user('nickname'); ?></a></div>
<small class="p-note"><?php echo print_r($page->user('firstName'), TRUE); ?></small>
</div>