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
View from Arthur's Seat in Holyrood Park (Edinburgh's dead volcano), taken with a Canon 400D and 18-200 Sigma lens.