Member
Member
Inovati   14-08-2009, 20:40
#1

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'
$conf['album_folder_class'] = 'external'

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

Member
Member
Inovati   14-08-2009, 23:33
#2

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.

Member
Member
Inovati   14-08-2009, 23:57
#3

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?

Member
Member
sbillard   15-08-2009, 00:16
#4

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.

Member
Member
Inovati   15-08-2009, 00:23
#5

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.

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