Advanced search  

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

Pages: [1]   Go Down

Author Topic: Point an Album to Another Directory on Server  (Read 1989 times)

0 Members and 1 Guest are viewing this topic.

afrohead

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Point an Album to Another Directory on Server
« on: February 18, 2008, 11:07:50 pm »

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. 
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Point an Album to Another Directory on Server
« Reply #1 on: February 19, 2008, 08:17:21 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.