I do not believe this to be an extension. This is something that can be directly added to the Common.js and Common.css files
See: http://www.mediawiki.org/wiki/Snippets/Photo_Slider