Can the image path/directory be identified from within the album.php or image.php theme templates? getAlbumLinkURL() is a bit specialized doesn't quite do it. Simply an absolute or relative directory path or URL would do it? I'm not seeing it in the template functions guide.
Thanks ... Rob
The folder for an album can be retrieved by the function $album->getFolder().
The variable $_zp_current_album can usually be used, so %_zp_current_album->getFolder() will work in image.php and in album.php as long as you reference it before the next_album() loop. (That loop points $zp_current_album at each subalbum as you go through the loop.
I am trying to call the the $album variable in a URL with the following php function:
"
is this the incorrect variable for the album? Do i have to establish the variable in my document before i can use it?
I am trying to add this to album.php
I am trying to call the the $album variable in a URL with the following php function:
http://www.vimstudio.com/darkroom/share/?client/
is this the incorrect variable for the album? Do i have to establish the variable in my document before i can use it?
I am trying to add this to album.php
This worked perfectly. Thank you.