Changing Albums Directory Changing Albums Directory
 

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

Changing Albums Directory

Started by seoulshul, May 16, 2004, 02:20:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

seoulshul

i recently created my first photo album. and i uploaded many pictures. now, i want to move all my pictures to a different directory. there is a footnote that says once ive added pictures to a directotry, i cannot change its path...
i really need to, so that the images can be shared in the same folder as another project im working on. i have no problems with re-uploading the images into its new directory...
my question is, by changing this path, does it screw up anything? would i have to re-install everything?
thanks for your advice!

Joachim Müller

the paths are being stored in coppermine's database, so if you're a bit familiar with phpMyAdmin you could run a query to change the path in one go. There have been issues with the albums folder being outside of the coppermine root path though, so this requires some skill.
If re-uploading all the images is not a problem for you, I suggest you remove the pics that currently exist in your coppermine database (by means of coppermine's built-in tools that will delete both the files from the server as well as the database entries); then you change the albums directory in coppermine's config and finally you re-add the pics.
For further details it might be helpful if you post additional data (like a link and the current and future paths of your albums folder).

GauGau

andrewjr

I was wondering how you change directory of the albums in the sql database.


Joachim Müller

coppermine config table: "fullpath".

Joachim