]> source.dussan.org Git - gitea.git/commit
Lazy load avatar images (#32051) (#32063)
authorGiteabot <teabot@gitea.io>
Wed, 18 Sep 2024 08:52:44 +0000 (16:52 +0800)
committerGitHub <noreply@github.com>
Wed, 18 Sep 2024 08:52:44 +0000 (16:52 +0800)
commit2831ae369eace3913f1fc19568522dcff914de6b
treec1465e90b462adabb82c4c6e33b89eaa4a8f0163
parente6395e1e81dd292417b04ce1fe3b51e50d978ca4
Lazy load avatar images (#32051) (#32063)

Backport #32051 by @hiifong

Before:

https://github.com/user-attachments/assets/7b1681ba-4781-432a-ae20-c07e94c1dbb6

After:

https://github.com/user-attachments/assets/5154e160-e22c-460e-b0d9-28768486c178

Co-authored-by: hiifong <i@hiif.ong>
modules/templates/util_avatar.go