Filter a Slideshow

This is a code example on how to filter a slideshow.