Added methods to capture all the images and then add them to an array in order to continue the slideshow.