acrylian, thank you for your patience. I clearly did not appreciate the difference well enough! What I am looking for is "the location of an album on the filesystem". Is there a function that does this? I am currently doing it with a composite of several functions.
var imagePath = '<?php echo "http://"; echo substr(htmlspecialchars(getAlbumFolder()),10); echo substr(htmlspecialchars(getAlbumLinkURL()),10);?>';