Build an array dinamically with image files
I'd like to know how I can build an array dynamically with the images I have in my 'images/' folder without having to list them in the code one by one. (Reffering to chapter 5, example 5 where when you click on an image, another one is loaded.)
Thanks!
|