[feature]: Add loading="lazy" to testimonial images for better performance
@Pratham3900 đang làm issue này rồi.
Từ ngày 24/2/2026.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- html
- Lĩnh vực
- performance, web-dev
Hướng nghiên cứu
Mở index.html và tìm năm thẻ hình ảnh testimonial trong images/testimonials. Thêm lazy loading vào từng hình ảnh testimonial, sau đó kiểm tra trang hoặc tìm kiếm trong tệp để xác nhận cả năm đều sử dụng loading="lazy" và không bỏ sót hình ảnh testimonial nào.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is there an existing feature request for this?
- I have searched the existing issues
Summary
🐢 Problem
Testimonial images in index.html (.avif and .jpg files) are loaded eagerly on page load. This means all 5 testimonial profile pictures are downloaded immediately, even before the user scrolls to the testimonials section — wasting bandwidth and slowing initial page load.
✅ Suggested Fix
Add the native HTML loading="lazy" attribute to all testimonial <img> tags in index.html.
File: index.html
Current code (example):
<img src="./images/testimonials/sanskriti.avif" alt="">
<img src="./images/testimonials/sukriti.avif" alt="">
<img src="./images/testimonials/neel.jpg" alt="">
<img src="./images/testimonials/harsh.avif" alt="">
<img src="./images/testimonials/arunima.avif" alt="">
Fix:
<img src="./images/testimonials/sanskriti.avif" alt="Sanskriti Gupta" loading="lazy">
<img src="./images/testimonials/sukriti.avif" alt="Sukriti Maurya" loading="lazy">
<img src="./images/testimonials/neel.jpg" alt="Neel Shah" loading="lazy">
<img src="./images/testimonials/harsh.avif" alt="Harsh Rastogi" loading="lazy">
<img src="./images/testimonials/arunima.avif" alt="Arunima Chaudhuri" loading="lazy">
Why should this be worked on?
🎯 Benefits
- ⚡ Faster initial page load
- 📉 Reduced bandwidth usage
- 📱 Better experience on mobile and slow networks
- ♿ Bonus: fixing
alt=""improves accessibility too
🌐 Browser Support
loading="lazy" is supported in all modern browsers (Chrome, Firefox, Edge, Safari 15.4+). No polyfill needed.
- Ngôn ngữ chính
- CSS
- Star
- 64
- Fork
- 48
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của keploy/student-program
-
[bug]: Combined Code Quality and Accessibility IssuesCó thể đã có người làm @ABHIISHERE12 đã nhận 93 ngày trước. Đang mởbug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
keploy/student-program#55 · 1 bình luận ·
Tất cả issue của keploy/student-program
Issue tương tự
-
track: dx
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Harden bayesian-waves-bg.js: add prefers-reduced-motion, pointer-events guard, and hidden-tab pauseĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
Cancelled searches still parse HTML snippetsCó thể đã có người làm @ivan-magda đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
kiwix/kiwix-apple#1791 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
CommunityToolkit/AI#64 ·
-
Bug: Hidden loading rings keep the compositor running, so Files uses 7-94% of a CPU core while idleĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
files-community/Files#19026 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày