coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: idotal on November 14, 2010, 07:58:48 PM

Title: change image location
Post by: idotal on November 14, 2010, 07:58:48 PM
hello
i currently have coopermine 1.4, but i will upgrade to 1.5.
now i have a problem. i have in coopermine tons of images, that i want to move to another folder.
so how do i change the image location in the database without change each file?

for example.
i made an album and put there 130 images from the same folder.
now the images are located in - albums/episode1
i want to move the folder to - albums/s1/episode1

it just to move the entire folder of the images to a diffrent location. so how do i apply that in the database?

ido
Title: Re: change image location
Post by: Jeff Bailey on November 14, 2010, 08:33:10 PM
have a look in the database for the file paths, for more details
please post a link to your gallery http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616

Title: Re: change image location
Post by: idotal on November 14, 2010, 08:41:52 PM
gallery.stargatefun.co.il
it's photo gallery about the tv show stargate
i give u example.
my current structer is - album/season/episode....
and i want to move the files to be - albums/tvshow/season/episode...

a living example -
http://gallery.stargatefun.co.il/albums/sg1_season10/1020-Unending/screencaps/sg1_1020_839.jpg

to make to -

http://gallery.stargatefun.co.il/albums/stargatesg1/sg1_season10/1020-Unending/screencaps/sg1_1020_839.jpg
Title: Re: change image location
Post by: Αndré on November 15, 2010, 12:21:16 PM
Option 1: http://forum.coppermine-gallery.net/index.php/topic,67661.0.html
Option 2: http://dev.mysql.com/doc/refman/5.0/en/update.html