Skip to content

Commit

Permalink
Use 320üx size avatars everywhere.
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismeonmounteverest committed Oct 21, 2023
1 parent e89b602 commit 40167f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build/members/templates/member.teasercontent.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
<a class="d-md-none js-profile-picture" href="<?= $picture_url . '/original' ?>" data-toggle="lightbox"
data-always-show-close="true" data-type="image"
data-title="<?= $words->getbuffered('profile.picture.title'); ?>">
<img class="profileimg avatar-320 d-md-none js-profile-picture" src="<?= $picture_url . '/320' ?>"
<img class="profileimg d-md-none js-profile-picture" src="<?= $picture_url . '/320' ?>"
alt="<?= $words->get('profile.picture.title'); ?>">
</a>
<?php } else { ?>
<a href="members/<?= $member->Username; ?>">
<img class="profileimg avatar-320 d-md-none js-profile-picture" src="<?= $picture_url . '/320' ?>"
<img class="profileimg d-md-none js-profile-picture" src="<?= $picture_url . '/320' ?>"
alt="<?= $words->getbuffered('profile.picture.title'), $member->Username; ?>">
</a>
<?php } ?>
Expand Down
4 changes: 2 additions & 2 deletions templates/profile/header.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
<a class="d-md-none js-profile-picture" href="{{ url('avatar', { username: member.Username, size: 'original'}) }}" data-toggle="lightbox"
data-always-show-close="true" data-type="image"
data-title="{{ 'profile.picture.title'| trans }}">
<img class="profileimg avatar-160 d-md-none js-profile-picture" src="{{ url('avatar', { username: member.Username, size: 160}) }}"
<img class="profileimg d-md-none js-profile-picture" src="{{ url('avatar', { username: member.Username, size: 320}) }}"
alt="{{ 'profile.picture.title'| trans }}">
</a>
{% else %}
<a href="{{ url('members_profile', {username: member.username}) }}">
<img class="profileimg avatar-160 d-md-none js-profile-picture" src="{{ url('avatar', { username: member.Username, size: 160}) }}"
<img class="profileimg d-md-none js-profile-picture" src="{{ url('avatar', { username: member.Username, size: 320}) }}"
alt="{{ 'profile.picture.title'| trans }}">
</a>
{% endif %}
Expand Down

0 comments on commit 40167f0

Please sign in to comment.