Changeset 99989f9 in Klonkt for src/views/pages/admin-users.ejs


Ignore:
Timestamp:
06/28/2026 04:57:19 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
201ec06
Parents:
74c5abc
Message:

feat(images): route all remaining avatars through avatar() (downscaled)

Wrap every avatar/profile-photo <img> src in avatar(): feed/comment/follow + nav, profile
header/sheet/bottom-tab, account, EPK hero, admin user list, site-edit preview. Local avatars
go through the thumb route, remote ones through the signed proxy. Covers (thumb()) untouched.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/admin-users.ejs

    r74c5abc r99989f9  
    4242          <div class="ax-user-id">
    4343            <% if (u.avatar_url) { %>
    44               <img class="ax-avatar" src="<%= u.avatar_url %>" alt="">
     44              <img class="ax-avatar" src="<%= avatar(u.avatar_url, 128) %>" alt="">
    4545            <% } else { %>
    4646              <span class="ax-avatar ax-avatar-empty"><%= u.username.charAt(0).toUpperCase() %></span>
Note: See TracChangeset for help on using the changeset viewer.