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: Moving Album/User Pictures Directory outside Install dir  (Read 5897 times)

0 Members and 1 Guest are viewing this topic.

wooster

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Moving Album/User Pictures Directory outside Install dir
« on: October 26, 2003, 01:35:51 am »

I have got CPG 1.2 running and works just great, just one request, Would it be possible to have the directory where the photos are stored to outside the install dirctory.

I had gallery  web script set up like this and for upgrades I would just delete the whole install directory point the new install to the pictures dir and would be all set
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Moving Album/User Pictures Directory outside Install dir
« Reply #1 on: October 26, 2003, 11:07:20 am »

without testing or looking into the code further: backup your database and then try to change "The album directory" in config. Put some "../" in front of it...
Please report if this works for you.

GauGau
Logged

wooster

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Will try that ...
« Reply #2 on: October 26, 2003, 09:48:12 pm »

Will try and then get back to you on this...thanks once again for the suggestion.
Logged

chlee

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Medical Media DataBank
Moving Album/User Pictures Directory outside Install dir
« Reply #3 on: October 30, 2003, 03:29:38 pm »

I put the album outside the coppermine directory. Following is what I did:
1. You need the logo.php and imageinfo.php which was discussed in previous thread http://forum.coppermine-gallery.net/index.php?topic=77&highlight=watermark
2. Configure your coppermine to Use GD for image resizing.
3. Now you can configure the album path using the absolute path, somthing like "/usr/local/www/album" or "E:/www/album" (the route where you put your album folder)
4. If you want to enable ImageMagick, you will need to modify your displayimage.php
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Moving Album/User Pictures Directory outside Install dir
« Reply #4 on: October 30, 2003, 06:47:08 pm »

logo.php and imageinfo.php are only needed if you want to run watermark hack (not recommended because it's consuming large amounts of resources).

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.