Just ran some tests, the gallery_url is replaced in plugin: Navbar Integration - process_templates_complete
this is what the plugin looks like in 3.01:
make sure it is active and code is the same as this:
(if not make sure you have the newest xml file)
Content visible to verified customers only.