I love this plugin but I’m having some problems with my permalink structure.
Basically I’m using the function <?php echo nggShowAlbum(1, compact); ?> on my wordpress template (index.php) to call album nr 1.
If Gallery settings > Deactivate gallery page link is not set, each album thumbnail links to http://www.mysitename.com/gallery-name and it works without problems.
But is the same option is set, the album thumbnail links to the url http://www.mysitename.com/nggallery/post/my-last-post/album-1/gallery-name which as you could imagine it doesn’t works (shows the last wordpress post from all thumbnails)
In other hand if I use a wordpress page with the shortcode [album id=1 template=compact] as a default root for my galleries, all album thumbnails links correctly each gallery indifferently of the Gallery settings > Deactivate gallery page link set. If the option is set, the url is http://www.mysitename.com/nggallery/page-144/album-1/gallery-2/ and if is not set the url is http://www.mysitename.com/metro-de-berlim/
As you can see the plugin is work differently if I user the shortcode in a page or if I call the function nggShowAlbum from a php file (I also have used the code <?php echo do_shortcode('[album id=1 template=compact]'); ?> but the result is exactly the same).
I’ve some urgency to solve this issue, so I’ll appreciate any help.
PS – I know that Nextgen plugin it’s not very SEO friendly. With the current version, the best that we can achieve is something like http://www.mysitename.com/nggallery/page-144/album-1/gallery-2/ correct? But I know that with some hacks in the Nextgen code it’s possible to run urls like http://www.mysitename.com/galleries/Europe/Spain/Barcelona/ Any help with this?