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
Seychelles, August 2007. Shot taken with a Pentax K100d + DA14/2.8 @ F/13, ISO200, 1/160, Polarizer.