I first started looking at the NextGen PHP code to try and see if I could “fix it right,” but it will probably be a bigger project to do that. In addition, any edits would get overwritten when NextGen updates.
So, I thought of the simplest solution. I have 16 lines of javascript that should work on both of your pages. This should also work after an update.
Facts:
This will move the page down to the top of the gallery (or the bottom if there isn’t enough room).
On the two gallery page (or other pages with multiple galleries), it will only move to the first gallery. If that is a big issue, I can work something out.
It kind of “jumps” to the location. I might be able to animate it, so its a smooth scroll, if that interests you.
I wouldn’t consider this a complete fix. That would involve the bigger edits I talked about in the first paragraph. But, this will work for now, and into the foreseeable future.
I’ve made a complete plugin file:
Download the zip
You will have to save that file to your computer. Then go to Plugins->Add New. There, next to “Search”, you can click “Upload.”
Select the downloaded zip and upload. Then, just activate it like a normal plugin. This is nice, because its easy to disable if you have any trouble (as opposed to having to paste in code yourself).
I know its a quick fix, but I submitted it to the plugin repository. This way it will be super easy to install, and it will be able to use the auto-update mechanism.
Please let me know if anything is wrong. I will update you accordingly if I make any changes.
I made a temporary page here for the plugin. It has more contact options.
I think I may have forgotten something, but it is almost 2:30am where I’m at. I need sleep.