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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.