Pentiado/angular-lazy-img

Should be better to load images that are “in view” and “visible”?

Opened this issue · 4 comments

I have the following scenario: a page with thousands of images distributed in tenths of nested <li>s. By default, these <li>s are hidden, but “in view” because its parent element (<ul>) is.

I think instead of only loading images that are “in view” we should also constraint to those that are “visible”.

What do you think?

Yeah, I agree. It totally makes sense. I'm overwhelmed with amount of tasks that I took at work right now but during Christmas break I will have some time to look at it.

Cool! I have made some changes on a separate branch, I will propose a PR for it.

jup31 commented

Had you prupose your modifications on PR ?