Here goes :
I have multiple (around 30) directories containing different form 10 to 20 images . I also have a function which stores them in an array . The problem is that I would like to do this automatically , not add a parameter for the image count of every dir . I would like to break the loop somehow by checking the image.src attribute . If you know how to do this or have any other idea , please let me know .
Thanks
Robert Munteanu