0 && slider_config.autoplayTimeout != null) ? parseInt(slider_config.autoplayTimeout) : 3000, autoplayHoverPause:parseInt(slider_config.autoplayHoverPause) == 1 ? true : false, autoHeight :parseInt(slider_config.autoHeight) == 1 ? true : false, animateOut :slider_config.transition == ‘slide’ ? false : slider_config.transition, responsive:{ 0:{ nav :parseInt(slider_config.nav_brk1) == 1 ? true : false, items :parseInt(slider_config.items_brk1 >= 0 ? slider_config.items_brk1 : 0), }, 600:{ nav :parseInt(slider_config.nav_brk2) == 1 ? true : false, items :parseInt(slider_config.items_brk2 >= 0 ? slider_config.items_brk2 : 0), }, 1000:{ nav :parseInt(slider_config.nav_brk3) == 1 ? true : false, items :parseInt(slider_config.items_brk3 >= 0 ? slider_config.items_brk3 : 0), }, 1280:{ nav :parseInt(slider_config.nav_brk4) == 1 ? true : false, items :parseInt(slider_config.items_brk4 >= 0 ? slider_config.items_brk4 : 0), } } }); }); }); ]]]]>]]>
‘; if( !instaGramCount ) { instaGramCount = 9; } if( !instaGramSortBy ) { instaGramSortBy = ‘none’; } if( !instaGramRes ) { instaGramRes = ‘standard_resolution’; } if( instaGramType == ‘user’ ) { var feed = new Instafeed({ target: instaGramTarget, get: instaGramType, userId: Number(instaGramUserId), limit: Number(instaGramCount), sortBy: instaGramSortBy, resolution: instaGramRes, accessToken: c_accessToken, clientId: c_clientID, template: intaGramImagesTemplate, after: function() { if (useImageShuffle) { var widgetId = this.options.target; new Shuffle(document.getElementById(widgetId)); } } }); } else if( instaGramType == ‘tagged’ ) { var feed = new Instafeed({ target: instaGramTarget, get: instaGramType, tagName: instaGramTag, limit: Number(instaGramCount), sortBy: instaGramSortBy, resolution: instaGramRes, accessToken: c_accessToken, clientId: c_accessToken, template: intaGramImagesTemplate, after: function() { if (useImageShuffle) { var widgetId = this.options.target; new Shuffle(document.getElementById(widgetId)); } } }); } else if( instaGramType == ‘location’ ) { var feed = new Instafeed({ target: instaGramTarget, get: instaGramType, locationId: Number(instaGramLocation), limit: Number(instaGramCount), sortBy: instaGramSortBy, resolution: instaGramRes, accessToken: c_accessToken, clientId: c_accessToken, template: intaGramImagesTemplate, after: function() { if (useImageShuffle) { var widgetId = this.options.target; new Shuffle(document.getElementById(widgetId)); } } }); } feed.run(); }); } }); ]]]]>]]>
Source