Changeset 99989f9 in Klonkt for src/views/pages/account.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/account.ejs

    r74c5abc r99989f9  
    3030        <% var _av = (typeof siteAvatar !== 'undefined' ? siteAvatar : null); %>
    3131        <% if (_av) { %>
    32           <img src="<%= _av %>" alt="">
     32          <img src="<%= avatar(_av, 128) %>" alt="">
    3333        <% } else { %>
    3434          <span><%= account.username.charAt(0).toUpperCase() %></span>
Note: See TracChangeset for help on using the changeset viewer.