Modify WordPress´s default gallery function to use it as slideshow