In case if you are looking for how to set the time interval between image slideshow, you will find this blog helpful. The “This week in Pictures” [TWIP] web part uses a java script for the slideshow (STARTSlideShow() method). Basically in the OnPreRender()