{"action":"created","issue":{"url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/252","labels_url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/252/comments","events_url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/252/events","html_url":"https://github.com/stevenschobert/instafeed.js/issues/252","id":68845566,"number":252,"title":"Actually write HTML?","user":{"login":"steelcowboy","id":9201644,"avatar_url":"https://avatars.githubusercontent.com/u/9201644?v=3","gravatar_id":"","url":"https://api.github.com/users/steelcowboy","html_url":"https://github.com/steelcowboy","followers_url":"https://api.github.com/users/steelcowboy/followers","following_url":"https://api.github.com/users/steelcowboy/following{/other_user}","gists_url":"https://api.github.com/users/steelcowboy/gists{/gist_id}","starred_url":"https://api.github.com/users/steelcowboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelcowboy/subscriptions","organizations_url":"https://api.github.com/users/steelcowboy/orgs","repos_url":"https://api.github.com/users/steelcowboy/repos","events_url":"https://api.github.com/users/steelcowboy/events{/privacy}","received_events_url":"https://api.github.com/users/steelcowboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-16T05:07:30Z","updated_at":"2015-04-18T14:32:42Z","closed_at":null,"body":"I am trying to make a slider of my instagram images using the Materialize framework. Basically the template for this slider is:\r\n```\r\n<div class=\"slider\">\r\n   <ul class = \"slides\">\r\n      <li><img src=\"img.png\"></li>\r\n      ...\r\n   </ul>\r\n</div>\r\n```\r\nWhat I naturally did is changed the target to \"feed\", added an id of \"feed\" to my ul, and add a template of `<li><img src=\"{{image}}\"></li>`. However, this doesn't work: when I view source it just shows the ul is empty. Upon doing an inspect element, it shows the images have been loaded (and it actually shows the html), so I'm not sure what's going on. You can see the page at https://steelcowboy.me/photos.php\r\n\r\nBtw, using the default options and just having the images be vomited onto my page works fine. \r\n\r\nAny suggestions? Thanks!"},"comment":{"url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/comments/94168330","html_url":"https://github.com/stevenschobert/instafeed.js/issues/252#issuecomment-94168330","issue_url":"https://api.github.com/repos/stevenschobert/instafeed.js/issues/252","id":94168330,"user":{"login":"steelcowboy","id":9201644,"avatar_url":"https://avatars.githubusercontent.com/u/9201644?v=3","gravatar_id":"","url":"https://api.github.com/users/steelcowboy","html_url":"https://github.com/steelcowboy","followers_url":"https://api.github.com/users/steelcowboy/followers","following_url":"https://api.github.com/users/steelcowboy/following{/other_user}","gists_url":"https://api.github.com/users/steelcowboy/gists{/gist_id}","starred_url":"https://api.github.com/users/steelcowboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelcowboy/subscriptions","organizations_url":"https://api.github.com/users/steelcowboy/orgs","repos_url":"https://api.github.com/users/steelcowboy/repos","events_url":"https://api.github.com/users/steelcowboy/events{/privacy}","received_events_url":"https://api.github.com/users/steelcowboy/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T14:32:42Z","updated_at":"2015-04-18T14:32:42Z","body":"Just for fun, I tried running the jQuery script for the slider \r\n```\r\n$(document).ready(function(){\r\n                        $('.slider').slider({full_width: true});\r\n                    });\r\n```\r\nIn the console, and lo and behold it worked just fine. However, I just tried adding it to the end of the document (right after `</body>`) and it still isn't working. \r\nThis is how I implemented the \"after\": \r\n```\r\nvar userFeed = new Instafeed({\r\n                    get: 'user',\r\n                    userId: 720550896,\r\n                    accessToken: '720550896.467ede5.985cd905f9494004848416660a3fcf82',\r\n                    resolution: 'low_resolution',\r\n                    template: '<li><img src=\"{{image}}\"></li>',\r\n                    target: 'feed',\r\n                    after: $(document).ready(function(){\r\n                        $('.slider').slider({full_width: true});\r\n                    })\r\n                });\r\n                userFeed.run();\r\n```"}}