We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d3c5ac commit 449604bCopy full SHA for 449604b
1 file changed
app/helpers/users_helper.rb
@@ -8,7 +8,8 @@ def avatar_img(user)
8
class: "avatar",
9
alt: "",
10
width: AvatarUploader::AVATAR_SIZE,
11
- height: AvatarUploader::AVATAR_SIZE
+ height: AvatarUploader::AVATAR_SIZE,
12
+ loading: "lazy"
13
}
14
image_tag(user.avatar_url, options)
15
end
@@ -20,7 +21,8 @@ def mini_avatar_img(user)
20
21
22
23
width: AvatarUploader::AVATAR_SIZE / 2,
- height: AvatarUploader::AVATAR_SIZE / 2
24
+ height: AvatarUploader::AVATAR_SIZE / 2,
25
26
27
28
0 commit comments