What's the way to pull the URL to the album the visitor is currently viewing? I've tried it several ways and I can get it through printing the breadcrumb navigation, but I need to have a custom named link, not the gallery name. All the others ways I've tried just direct to the image page the visitor is already on..
Thanks.
Comments
For example, if the visitor is on "http://example.com/zenphoto/album-name/image.jpg.html" then `getAlbumLinkURL()` links to the same url..
What I need is for that "view thumbnails" link to link to "http://www.thatvideogameblog.com/galleries/prince-of-persia/"
not "http://www.thatvideogameblog.com/galleries/prince-of-persia/Prince_of_Persia-960.jpg.html"
In other words, the album thumbnail index link is what I'm after.
EDIT // Duh, I left out "print," should be `">view thumbnails`
Problem solved, thanks for the help.
`<?php echo htmlspecialchars(print getAlbumLinkURL());?>`
EDIT: Nope, that didn't work properly, gotta lose the "print" in this case, correct?
`<?php echo htmlspecialchars(getAlbumLinkURL());?>`