Using Gallery2's Embed API allows you to seemlessly display your media in any php enabled page on your website as seen in my example below.
While compiling this list I discarded over 100 other samples where the target site had changed/moved.
My simple embed tool can help you achieve similar results for your site.
Or I have a well commented template which can also be used for the same purpose.
As well as a breakdown of the code.
Lastly don't forget about my mediaBlock, miniSlideshow and E2
Still on my mission to bring a little green for everyone's desktop.