#Making sure that only image files are added to the slideshow list