Batch uploaded photos into a directory under userpics -- what now? Batch uploaded photos into a directory under userpics -- what now?
 

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

Batch uploaded photos into a directory under userpics -- what now?

Started by curmudgeon, June 09, 2004, 12:17:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

curmudgeon

I created a gallery some months ago by batch uploading about 600 photos into a directory under the userpics directory. I haven't noticed any problems but I've just learned that the uploaded directory should not be under the  userpics directory.

Is there any way I can now make things right without losing all the photo captions I've added?  What's likely to go wrong as a consequence of my mistake if I do nothing?

-- curmudgeon

Casper

If it's still working, then leave the pics where they are.
But do not upload any more pics to the userpics folder, create new folders in the albums folder, and put them there.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

curmudgeon

Thanks, Casper, for replying.  But now I'm worried that this mistake is going to come back and bite me somehow -- or should I just not worry and be happy?

Casper

I made this same mistake when I first started.  It was only when it started to refuse to upload that I realised. 
The pics that are already in the database, safely stored on the server, should be fine, and not cause problems. 

If you really feel you must move them, it is not easy, unless you simply use coppermine to delete them, and then re-upload, but that loses all your comments etc.  If they are all in specific folders, you could move the folders, and then run a query in the database to change the paths, but U wouldn't recommend that.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

curmudgeon

Thanks for those reassuring words, Casper -- please let me ask one more thing and then I'll be quiet. Do you think upgrading to CPG 1.3 will cause me grief because of this lurking misconfiguration?

Casper

No, not unless there are still pics in these folders you have not added and want to do later.
In version 1.3, the userpics folder is not shown when using batch add.

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here