I have made a better module for this.. see this link
PyroCMS “Slideshow” module.
Was having fun with PyroCMS. Have created a slideshow banner widget in PyroCMS this widget is very nice and plug and play.
Just add it in any widget area as you do with other widgets and you can select different images to show in the banner. The image dropdown is connected with the uploaded “files” in pyro cms. You can type width and height of the slideshow. You can also add text with each slideshow image that will be shown just bottom of image.
Its highly customizable and code is very easy.
here is the backend screenshot:
Here is the front end after u put the widget in front end with tag in template like this:
hope you like it.