Short: does anyone know of or have any tips, tricks or guides to integrating WP 1.5 and Gallery 2? And for starters, I just mean using WP as a base and wrapping it around G2. Effectively, it may be the other way around, but I just want to emphasize that I'm not talking about just posting G2 images in WP posts.
Long: I've been fiddling with WP 1.5 for a while and have decided to move my own webpage and a few friends' to a WP-based system. I'm quite adept with PHP and such, but do not have the full picture yet, especially regarding the new theming system and the plugin API. I've also used G2 for some time, and am helping out with a G2 RSS plugin at the moment, so I know a bit about it's API.
However, I've not yet found a good way to embed one in the other yet, not even in terms of just using G2's template system (and Smarty engine) to embed WP so the site looks clean and tight.
Obviously, the best idea would be to create an actual WP plugin for G2, allowing for the functionality of the WP-Gallery plugin and sharing WP and G2 categories and so forth. Unfortunately, I don't have the resources at the moment to actually do this.
So right now, I'm just trying to figure out the best way to integrate the two without messing too much with the actual code, and adhering if at all possible to the API functionality of both WP and G2. I believe that using G2's global.tpl in a local-directory is the best approach, but I'm not quite sure which of WP's files I need to include, and which of the API functions I need to call in order to get the necessary data pulled out for the resulting HTML.