Point an Album to Another Directory on Server Point an Album to Another Directory on Server
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Point an Album to Another Directory on Server

Started by afrohead, February 18, 2008, 11:07:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

afrohead

Is it possible to create an album that points to a directory outside of the Coppermine albums directory?  I have a directory with thousands of images that have been uploaded from my bbs over the years and I would like to have an album that displays these images from this current source directory.  I don't want to have to do any batch uploading and create duplicate images in the coppermine albums directories for obvious disk space reasons. 

Joachim Müller

The magical term is "symlinks", assuming that your server is Unix/Linux-driven. If this is the case, ask your webhost to create a symlink within your albums folder that points to that other folder outside of coppermine's folder structure. Keep in mind that this will only work if the folder is on the same server - you can't use this to enable remote storage (on a different server). Once your webhost has created that symlink, you can batch-add the files residing within that other folder.