moving image file locations on server moving image file locations on server
 

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

moving image file locations on server

Started by Colliope, February 06, 2008, 02:39:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Colliope

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

Nibbler


Colliope

Quote from: Nibbler on February 06, 2008, 10:51:48 AM
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