Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: Moving directory of images  (Read 1685 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 74
    • Apple Reseller
Moving directory of images
« on: September 04, 2006, 03:12:00 pm »

Since I've used coppermine for some time, I would like to make some order in my album directory and I would like to move around some folders. If I've this structure, for example


and would like to have this one



apart from moving the filders via FTP, how can I be sure that Coppermine will find the albums once the structure is changed?

Thanks in advance
Shift Srl
 *Link Removed*


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 37
Re: Moving directory of images
« Reply #1 on: September 04, 2006, 03:38:41 pm »


The easiest way would be via SQL queries:

Run phpmyadmin, take your database.
Then 'SQL' and enter

Update cpg_pictures
SET filepath = "data/2002/trip2/"
WHERE filepath = "data/pictures/trip2/"

assumed, your directory structure starts underneath albums/data

I had to do that quite often in the last months and it worked fine.

Pages: [1]   Go Up

Page created in 0.022 seconds with 19 queries.