Advanced search  

News:

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.
[more]

Pages: [1]   Go Down

Author Topic: moving image file locations on server  (Read 2093 times)

0 Members and 1 Guest are viewing this topic.

Colliope

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 126
moving image file locations on server
« on: February 06, 2008, 02:39:57 am »

Many month ago, I re-organized my gallery images on my server - created new folders/directories, deleted some, renamed existing ones, moved images from one to another, etc.... Then, following directions obtained here, I used phpMyAdmin to edit the file path locations for all those images. Was monotonous but got the job done without "breaking" anything in the gallery or losing any data on the images (views, ratings, etc...).

So now I want to do the same thing for another gallery on another server, but am having a mental block. I can't remember if when I moved images from one directory to another if I also moved the thumbnails for them, or if I deleted them and they were automatically regenerated in the new folder at some point. Moving the thumbs is no big deal, but I don't want to move them and end up with a mess of duplicates because they were auto-regenerated.

Hope this makes sense,

Thanks,
C
« Last Edit: February 06, 2008, 04:18:57 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: moving image file locations on server
« Reply #1 on: February 06, 2008, 10:51:48 am »

There is no auto regeneration.
Logged

Colliope

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 126
Re: moving image file locations on server
« Reply #2 on: February 06, 2008, 03:51:56 pm »

There is no auto regeneration.

Thanks, I will move them with the main pics, then.

Also, tip for others: To avoid an unorganized mess like I ended up with, create a folder tree in /albums/ that matches the category & album structure in your Gallery and upload your pics to those folders. Then use Batch Upload to load the pics into your Gallery even if you're only adding one image. If you use the regular "upload files" all your pics end up in albums/userpics/#whatever/ and having everything in one folder gets unweildy and makes it hard to keep track of file names.
Ex - you can have albums/Birds/001.jpg and albums/Fish/001.jpg, but if you were using regular upload you'd have to give each a different name.jpg or the second one you uploaded would be renamed to 001~2.jpg 'cause they would be in the same folder. At any rate, it gets pretty messy, so avoid the hassle of trying to re-organize by starting out organized to begin with.

C
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 15 queries.