![]() |
|
Creating a link to an album - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Creating a link to an album (/thread-8084.html) |
Creating a link to an album - rhamblin60 - 2011-01-09 Hi, I have successfully installed Zen Photo, created an album and now need to create a link on the web page the album is for to the album. I can,t seem to find a way to do this. Please offer your suggestions on solving this problem. Creating a link to an album - sbillard - 2011-01-10 I'm not sure I am understanding your request. Do you want to place a link to the page you are on on the page? Seems strange. Anyway, look at the functions guides for Creating a link to an album - rimair - 2011-01-26 Hello I am in the process of integrating ZP with a new site. I am working with the latest ZP version 1.4.0.1. I needed to provide the URL to an image within the ZP album structure and had to work around what seems to be a problem with the ZP functions. (1) My hard drive album structure (default locations) is: (2) getAlbumFolder() returns: (3) getAlbumLinkURL() returns In (3) you will see that the "album" folder is missing in the URL. Is this as it should be? Zenphoto does not seem to be affected by this ommission but it means the getAlbumLinkURL() function cannot be used as a pointer to an images folder outside of ZP. Can anyone please advise? Creating a link to an album - acrylian - 2011-01-26 Zenphoto does not access the images in the albums folder directly (unless you want to view the full image). Creating a link to an album - rimair - 2011-01-27 Thank you acrylian. However, as I tried to explain, getAlbumLinkURL() is returning the wrong path to the album page. Cheers Creating a link to an album - acrylian - 2011-01-27 Quote:3) getAlbumLinkURL() returns Creating a link to an album - ruiner - 2011-01-28 How can I make a simple list of albums and 1-st level subalbums on main page (index.php) e.g. Album 1 Album 2 etc. next_album is working for root albums only, and I can't figure out how to cycle through subalbums on index page. Creating a link to an album - acrylian - 2011-01-28 Use the print_album_menu plugin. Look at the included Zenpage theme for an example. Creating a link to an album - ruiner - 2011-01-28 Thank you, it works just fine. Creating a link to an album - rimair - 2011-01-29 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 = ''; Creating a link to an album - acrylian - 2011-01-29
Creating a link to an album - sbillard - 2011-01-29 If you really want a file system link (as opposed to a WEB link to the file, there is a difference) then use Creating a link to an album - rimair - 2011-01-30 Thank you acrylian and sbillard, this is a great help. |