Can I rename some album subdirectories? Can I rename some album subdirectories?
 

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

Can I rename some album subdirectories?

Started by Hercules24, August 20, 2006, 09:02:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hercules24

Hi All,

When I first started with Coppermine I just had a few different albums and I din't care about naming them.
Now each new album I make a directory /albums/2006-08-20-Name so they are easy to sort out and manage.
I can easily change the name of an old directory like /albums/Name-20-5 to the new format, but Is there a way I can get Coppermine to know that it should pick up the jpgs from the new named directory?
Thanks for listening to me.

Nibbler

You'd need to fix the paths that are stored in the database. If you search the board you should be able to find a sample query for this that I have posted before.

Hercules24

Thanks Nibler.
After playing a bit with PHPMyAdmin I found a way I could manually change the directory name for a single picture.
But even that I'm afraid of doing. For me it's like performing open heart surgery with a sword.
Maybe later when I learn something more about PHP like queries I'll fix it since it's really not a big issue, more a minor beauty detail.
At least I know where to look now.
Problem solved.