Connect to multiple data?

For example, if I wanted to use a slideshow in a dynamic page is it possible to connect the slideshow to the appropriate images to create the unique slideshows?