[Plugin: NextGEN Gallery] Dynamically loading images
-
Hello all,
I am trying to integrate a gallery with with a jcarousel. I am not a great coder so can’t figure out how to do a foreach and load the images in a gallery and then load that array into the item list for a infinity scroll in jcarousel. I know what needs to happen, I just don’t know how to do it. So…
Let’s say I have a gallery called ‘gallery_1’. How do I loop through the contents of that gallery, load it into an array and then load those results into the following code. I’ve left an example of how it works with me manually entering the path and image name. Thanks for any help!
var mycarousel_itemList = [ {url: '<?php bloginfo('stylesheet_directory'); ?>wp-content/gallery/gallery_1/1.jpg'} ];
- The topic ‘[Plugin: NextGEN Gallery] Dynamically loading images’ is closed to new replies.