{"action":"created","issue":{"url":"https://api.github.com/repos/smashingboxes/OwlCarousel2/issues/684","labels_url":"https://api.github.com/repos/smashingboxes/OwlCarousel2/issues/684/labels{/name}","comments_url":"https://api.github.com/repos/smashingboxes/OwlCarousel2/issues/684/comments","events_url":"https://api.github.com/repos/smashingboxes/OwlCarousel2/issues/684/events","html_url":"https://github.com/smashingboxes/OwlCarousel2/issues/684","id":55559384,"number":684,"title":"lazyLoad=\"true\" only works when loop=\"true\"?","user":{"login":"dustinhansen","id":455498,"avatar_url":"https://avatars.githubusercontent.com/u/455498?v=3","gravatar_id":"","url":"https://api.github.com/users/dustinhansen","html_url":"https://github.com/dustinhansen","followers_url":"https://api.github.com/users/dustinhansen/followers","following_url":"https://api.github.com/users/dustinhansen/following{/other_user}","gists_url":"https://api.github.com/users/dustinhansen/gists{/gist_id}","starred_url":"https://api.github.com/users/dustinhansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustinhansen/subscriptions","organizations_url":"https://api.github.com/users/dustinhansen/orgs","repos_url":"https://api.github.com/users/dustinhansen/repos","events_url":"https://api.github.com/users/dustinhansen/events{/privacy}","received_events_url":"https://api.github.com/users/dustinhansen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/smashingboxes/OwlCarousel2/labels/bug","name":"bug","color":"dd1144"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-27T00:38:05Z","updated_at":"2015-04-17T16:14:50Z","closed_at":null,"body":"It seems that the \"loop\" option must be set to \"true\" in order for lazy loading to work properly? Here is my code:\r\n\r\nthumbGallery.owlCarousel({\r\n\titems: 8,\r\n\tloop: false,\r\n\tmargin: 6,\r\n\tautoplay: false,\r\n\tautoplayTimeout: 4000,\r\n\tautoplayHoverPause: true,\r\n\tdotsClass: 'switchers',\r\n\tnav: false,\r\n\tdots: true,\r\n\tsmartSpeed: 300,\r\n\tlazyLoad: true\r\n});\r\n\r\nWith this code, only the first image is lazy loaded (\"data-src\" is copies to the image's \"src\" attribute). When I set \"loop: true\" then the lazy loading works fine, showing 8 images at a time as intended instead of just the one. Why is this? Is there any way to make lazy loading work without setting loop to \"true\"?"},"comment":{"url":"https://api.github.com/repos/smashingboxes/OwlCarousel2/issues/comments/94018709","html_url":"https://github.com/smashingboxes/OwlCarousel2/issues/684#issuecomment-94018709","issue_url":"https://api.github.com/repos/smashingboxes/OwlCarousel2/issues/684","id":94018709,"user":{"login":"myconcretelab","id":1971274,"avatar_url":"https://avatars.githubusercontent.com/u/1971274?v=3","gravatar_id":"","url":"https://api.github.com/users/myconcretelab","html_url":"https://github.com/myconcretelab","followers_url":"https://api.github.com/users/myconcretelab/followers","following_url":"https://api.github.com/users/myconcretelab/following{/other_user}","gists_url":"https://api.github.com/users/myconcretelab/gists{/gist_id}","starred_url":"https://api.github.com/users/myconcretelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myconcretelab/subscriptions","organizations_url":"https://api.github.com/users/myconcretelab/orgs","repos_url":"https://api.github.com/users/myconcretelab/repos","events_url":"https://api.github.com/users/myconcretelab/events{/privacy}","received_events_url":"https://api.github.com/users/myconcretelab/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T16:14:50Z","updated_at":"2015-04-17T16:14:50Z","body":":+1: "}}