{"action":"closed","issue":{"url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1565","labels_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1565/labels{/name}","comments_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1565/comments","events_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1565/events","html_url":"https://github.com/nolimits4web/Swiper/issues/1565","id":125491217,"number":1565,"title":"Problem with lazyLoading + freeMode + mousewheelControl","user":{"login":"hybridvision","id":11492432,"avatar_url":"https://avatars.githubusercontent.com/u/11492432?v=3","gravatar_id":"","url":"https://api.github.com/users/hybridvision","html_url":"https://github.com/hybridvision","followers_url":"https://api.github.com/users/hybridvision/followers","following_url":"https://api.github.com/users/hybridvision/following{/other_user}","gists_url":"https://api.github.com/users/hybridvision/gists{/gist_id}","starred_url":"https://api.github.com/users/hybridvision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hybridvision/subscriptions","organizations_url":"https://api.github.com/users/hybridvision/orgs","repos_url":"https://api.github.com/users/hybridvision/repos","events_url":"https://api.github.com/users/hybridvision/events{/privacy}","received_events_url":"https://api.github.com/users/hybridvision/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-07T21:44:03Z","updated_at":"2016-01-10T13:47:39Z","closed_at":"2016-01-10T13:47:39Z","body":"Hi Vladimir,\r\n\r\nFirst of all, wonderful script - thank you! :)\r\n\r\nI am trying to implement an image gallery with *lazy loading* in conjunction with the *free mode* and *mousewheel control*. However, I can't get the lazy loading to work correctly.\r\n\r\nThe first few images load but after that nothing happens and the preload spinners just sit there for the remaining images. There are no errors, and after testing it, I've figured out that the images don't lazy load when they are scrolled into view via the mousewheel (however the `swiper-slide-visible` class is applied correctly).\r\n\r\nIt will work when I click and drag to scroll but this defeats the goal of having the mousewheel control, which is much nicer than having to constantly click and drag.\r\n\r\n*I've prepared a demo here illustrating the problem:* http://codepen.io/anon/pen/GompzX\r\n\r\nIs this a bug or a known limitation? I would really love to get it working and it seems like it is very close!\r\n\r\nAlso, bonus question: would it be possible to lazy load several images ahead of the scroll position instead of just one more than is visible? Maybe an extra 3-5 images would be nice so that there isn't much lag when scrolling through.\r\n\r\nMany thanks for any help!\r\n\r\nStephen"}}