![]() |
|
Album directory outside web-root - 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: Album directory outside web-root (/thread-5675.html) |
Album directory outside web-root - Inovati - 2009-08-14 Hello, I am installing ZP on an intranet to organize photos. I already have ~15k photos that I don't want to have to copy into the directory for zenphoto again (the drive doesn't have the space). The photos are available on the same machine, although through a different disk. I have tried editing zp-config.php as follows but I just get the error "albums directory (/Volumes/Disk1/Photos/) could not be found": $conf['album_folder'] = '/Volumes/Disk1/Photos' Any help is appreciated. ZP is running off of a 10.5.8 Server on intel xserve. If it isn't possible to change the albums directory, is it possible to add a sym-link to the zenphoto/albums folder so that images are still archived in their proper place? Thanks Album directory outside web-root - Inovati - 2009-08-14 Nevermind. I did it through softlinks and it does what I want. The create/upload album allows me to create a folder on the external drive via the symlink so I don't have media in two places. Just in case anybody is interested, I undid my changes to the zp-config.php file and issued ln -s /Volume/Disk1/Photos/Album1/ .../zenphoto/albums/Album1 for every album that you have/want to create. Should make it easy to symlink them so that sub-albums can be in more than one album without having to recopy the images. Album directory outside web-root - Inovati - 2009-08-14 Actually now after playing around for a while I realize that I cannot see the images full size when they are clicked on in an album. Any fix? Album directory outside web-root - sbillard - 2009-08-15 For a browser to show an image it must be able to access it. So I guess something is still missing from your implementation. You can also try one of the protected image options. Album directory outside web-root - Inovati - 2009-08-15 Actually I changed the theme and it works now so I think it had something to do with that theme? I also made the images 'Unprotected' under the admin options, but in the Example Template it just opened a blank browser. |