Member
Member
arcanewinter   2007-10-17, 00:26
#1

Not experienced with php, I've been poking around in the template functions guide, but to no avail. I want to include on the album.php template page a link to a .zip of the photos in that gallery (which I would upload separately). But I'd like to put that .zip in the same folder as the image files. Is there a function I can use to call the URL of the folder the pictures are in, rather than the display URL of the album?

i.e. http://mysite.com/zenphoto/albums/Album_Name/
instead of http://mysite.com/zenphoto/Album_Name/

Member
Member
sbillard   2007-10-17, 02:05
#2

$album->getAlbumFolder() . $album->getFolder() ."/";

where $album is an album object for the album.

Member
Member
arcanewinter   2007-10-17, 03:26
#3

Thanks. I'll try and figure that out.

Member
Member
arcanewinter   2007-10-17, 03:52
#4

All right, it turns out I have no idea what to do with that, but at least I know that would work.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.