Revert "feat: crop images before optimizing them to ensure proper aspect ratio"

This reverts commit 605baf5836.
This commit is contained in:
Cory Dransfeldt 2024-02-05 13:18:51 -08:00
parent 43c8beebed
commit 84e5c844f5
No known key found for this signature in database
4 changed files with 28 additions and 94 deletions

View file

@ -8,7 +8,7 @@
<div class="avatar__wrapper flex--centered">
{% capture authorAlt %}{{ mention.author.name | escape }}{% endcapture %}
{% capture fallbackIcon %}{% tablericon "user" authorAlt %}{% endcapture %}
{% image mention.author.photo, authorAlt, 'avatar__image', 'lazy', 'square', fallbackIcon %}
{% image mention.author.photo, authorAlt, 'avatar__image', 'lazy', 'rounded', fallbackIcon %}
</div>
</a>
<div class="comment">

View file

@ -13,7 +13,7 @@
<div class="avatar__wrapper flex--centered">
{% capture authorAlt %}{{ mention.author.name | escape }}{% endcapture %}
{% capture fallbackIcon %}{% tablericon "user" authorAlt %}{% endcapture %}
{% image mention.author.photo, authorAlt, 'avatar__image', 'lazy', 'square', fallbackIcon %}
{% image mention.author.photo, authorAlt, 'avatar__image', 'lazy', 'rounded', fallbackIcon %}
</div>
</a>
{% endfor %}