When using views infinite pager, the images in the newly loaded page don't load. It seems there must be some ajax interference between both libraries. Any way to fix?

Comments

Farreres’s picture

Sorry, its views infinite scroll https://drupal.org/project/views_infinite_scroll

Farreres’s picture

Project: Responsive images and styles » Image Lazyloader

Moved to correct module.

13rac1’s picture

IMHO You should use one or the other Infinite Scroll or Lazy Load. Using both is overkill.

jordanmagnuson’s picture

IMHO You should use one or the other Infinite Scroll or Lazy Load. Using both is overkill.

I disagree. If you're attempting to create a truly infinite wall of images (ala Pinterest or Google image search), one or the other of these is not enough: you really need both.

Fortunately, this patch seems to solve the incompatibility.

13rac1’s picture

Status: Active » Closed (duplicate)

It seems like a waste of CPU: Lazy loading images within lazy loaded HTML. Either way, this is now a dupe of #1799172: In ajax loaded content Image Lazyloader not working..

jordanmagnuson’s picture

@eosrei: I see your point, and I'm sure it depends on the situation, but we're talking about different chunk sizes with these different options: Lazy loaded images are very important if you want to have a large wall of images to begin with, but if you want that wall to be infinite scroll, you also need the lazy loading pager (as you can't make an infinite wall as an initial size). Just go to pinterest.com: lazy loaded images with lazy loaded pager.

panditvarun20’s picture

I have problem is that when i views infinite scroll bar in block.It display repeated content.