Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

want to load first image then display remaining image while scrolling #61

Open
gt06 opened this issue Nov 15, 2017 · 0 comments
Open

want to load first image then display remaining image while scrolling #61

gt06 opened this issue Nov 15, 2017 · 0 comments

Comments

@gt06
Copy link

gt06 commented Nov 15, 2017

Thanks for the great plugin.

I have integrated this plugin into Magento project. On each category, there are 1000 product. Out of that, I have show only 24 products.

When i access the page, all 24 products images displaying at a time.so it takes too much time to load.

Instead I want to display first 8 images and then will display according to scroll.

I have created jsfiddle.

https://jsfiddle.net/3escsmsg/7/

When I set height to auto, scroll event does not work. When I set height: 500px or specific value, it works. But i don't want to set height to specific value.

How can i achieve image load on scroll.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant