fixed loading of images to slideshow