ApoorvSaxena / ApoorvSaxena/lozad.js

Including responsive blurred images using Lozad?

Đang mở
#264 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
7.5k
Fork
435
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I am able to perform lazy loading of images but I need to display a default blurred image initially as the actual image is taking time to load.

I am working on a scenario where the responsive images should lazy load based on the screen size but need to include blurred images as a fallback for all responsive images, blurred images should get displayed in case of delays till the actual image loads. I am using Lozad JS

1. How can I include multiple responsive blurred images for 1x 2x etc as a fallback image?
2. Can I use 1x 2x instead of 1000w 2000w in data-srcset attribute?

``

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.