Add pics to albums Add pics to albums
 

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]

Main Menu

Add pics to albums

Started by yaxiiah, December 18, 2007, 04:41:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yaxiiah

if i have the pics added to my userpics folder, but i don't have them in the albums, is there a way to add those pics to the albums, without uploading them again through the gallery.

Joachim Müller

How did they creep into the userpics folder in the first place? If a http upload fails, the temporary file will be deleted by the garbage collection. If you deliberately uploaded the pics by FTP to the userpics folder, download them once again (using FTP) to your client and then re-upload them to the proper place.

yaxiiah

the thing is that i added them properly.. but then i accidentally delete the database.. so i lost my categories, albums, users, etc.. but not the pictures.. so i was wondering if there was a way to create the albums and everything again, but using the pictures that i already have in my albums... there are over 8,200 pics.. that's why i don't wanna add them again

Joachim Müller

If all pics that reside inside the userpics folder don't exist in your database (i.e. immediately after the database has been re-done), rename the userpics folder to something like "previous_uploads". Then create a new folder within the albums folder and name it "userpics". You should then be able to batch-add the pics that reside in the folder "previous_uploads".