Hi,
A few years ago I wrote a gallery for my website that was completely custom. Since then, I've upgraded completely to wordpress. This means that my galleries are sitting in my original tables gathering dust.
What I'm looking to do is create a plugin that will allow me to share those galleries with people again, using their old structure.
The approach I want to take is to be able to say all requests with "/gallery/" or similar in, get processed by a function in the plugin. I then need to grab each variable in turn: /gallery/[gallery name]/[image name]
I've trawled through as must as I can around permalinks and URL handling, and still can't find an answer. I'd rather not have to modify the core of wordpress or the template I'm using. Also would be good as a plugin for others to use once I crack this problem.
I have a solutions similar to other gallery solutions that involve creating a page and adding a tag, but I'd prefer to make it more flexible and expandable than that.
Thanks