Skins that support searching can only search through the current album and the search function can’t be incorporated into an external web page.
You can use jAlbum to build a single ‘index page’ of all of your albums, see
Make an album of albums with web locations . That might be an easier way than you are currently building your index page.