Use Batch upload on localhost Use Batch upload on localhost
 

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

Use Batch upload on localhost

Started by nicke, September 06, 2004, 08:10:08 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

nicke

Hi!

I run CPG on my own computer, using apache2triad. I'd very much like to use the batch add, but can't figure out how to?

Does anyone have a step-by-step on how to upload a number of pics at the same time? Now I'm using the add files (10 at the time) which is quite awkward...

kegobeer

Batch add is the same no matter what server Coppermine is on.  Create a directory in /albums (call it /uploads or something), drop your images in there, then click Batch Add.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

mancool

Quote from: kegobeer on September 06, 2004, 08:16:43 PM
Batch add is the same no matter what server Coppermine is on.  Create a directory in /albums (call it /uploads or something), drop your images in there, then click Batch Add.

however, after I upgrade from 1.2.1, it cannot detect my files. How can I fix it?

kegobeer

Start by reading the documentation that comes with Coppermine.  You are uploading your files to the /userpics directory, and that isn't allowed.  Coppermine knows that and doesn't look in there when doing a batch add.

There are a lot of posts on this forum about it.  Search and ye shall find them.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

nicke

After creating a directory /upload in albums, the batch add works just fine.

But - when all the pics are uploaded (and placed in an album) I'd like to clear the upload folder, so that I can then put new pics there, to be batch added.

But if I delete the pics in the /upload folder, they disappear from the album as well? They really shouldn't, since they are put in an album (which is not the upload folder but in the database...??)

kegobeer

The files aren't put into the database - they stay on the server.  Actually putting files into a MySQL database is a huge drain on server resources and a really silly idea, IMHO.

You can put as many pictures in the directory as you want - Coppermine knows what images are already in the database and will put checkmarks next to only the new images in the directory.  You don't have to delete the original files in order to upload more.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

Try creating a folder structure with albums/uploads that matches your category/albums structure and ftp-upload new files into new folders - is not a requirement per se, but makes administration a whole lot easier, as well as keeping track of files/uploads.

Joachim

nicke

I'd try something like that - since I used the File/URI function earlier, I did not have the "problem" that my pics existed in a number of folders.