I have this gallery that loops through images in a folder. But you have to set what images. Is there a way that I can make it loop though as many images that are in this folder maybe using a for loop or something.
var mygallery = new simpleGallery({
wrapperid: "connect", //ID of main gallery container,
dimensions: [923, 330], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
imagearray: [
[url+"images/featured/feature_connect_1.jpg", "", ""],
[url+"images/featured/feature_connect_2.jpg", "", ""],
[url+"images/featured/feature_connect_3.jpg", "", ""]
],
here is what the part that gets the images looks like. Any help would be greatly appreciated.
Let me know if any other information is needed.
Thanks in advance.