forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: wooster on October 26, 2003, 01:35:51 am

Title: Moving Album/User Pictures Directory outside Install dir
Post by: wooster 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
Title: Moving Album/User Pictures Directory outside Install dir
Post by: Joachim Müller 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
Title: Will try that ...
Post by: wooster on October 26, 2003, 09:48:12 pm
Will try and then get back to you on this...thanks once again for the suggestion.
Title: Moving Album/User Pictures Directory outside Install dir
Post by: chlee 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
Title: Moving Album/User Pictures Directory outside Install dir
Post by: Joachim Müller 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