forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Dirk Diggler on September 22, 2006, 12:00:24 pm

Title: batch upload when self hosting
Post by: Dirk Diggler on September 22, 2006, 12:00:24 pm
Hi,

I have running my own server using xampp. Uploading pictures trough the http interface works fine. Although I expected the albums created in the coppermine admin page would appear in the "albums folder" (In my case: htdocs/coppermine/albums/), this is clearly not happening. Somehow Coppermine lets the pictures on their original place on the HD but refers in my public directory to that place.

When you use a hosted webspace, these subfolders of the "albums folder" seem to be the actual place of the pictures because their (batch) uploaded to this place.

Nowe here's my question: How can I "bach upload" pictures when running my own server?
Since the http upload works fine, I would like to know to which folder the files are being uploaded.

I already tried to copy my original pictures into htdocs/coppermine/albums but this didn't work.


Thanks in advance for you help!


Title: Re: batch upload when self hosting
Post by: Nibbler on September 22, 2006, 12:03:44 pm
http uploads go into albums/userpics. You can batch add from anywhere that is pubicly accessible, normal instructions apply. Pictures stay where you put them.
Title: Re: batch upload when self hosting
Post by: Dirk Diggler on September 22, 2006, 12:40:35 pm
So if the uploaded pictures are in albums/userpics the original files are just copied into this folder? Then I understand that I can just copy the pictures into album/userpics/

I'm getting a little bit confused now. Please be al little bit more precise in what I need to do.
Title: Re: batch upload when self hosting
Post by: Stramm on September 22, 2006, 01:27:03 pm
Nope!
When you create albums you don't create folders in the albums directory but within the database (MySQL)

When you upload pics via http coppermine cretates a subfolder (if you're not running safe mode) within the albums/userpics dir. That subfolder is usually named user id +10000. If you as admin with the user id 1 upload pics they therefore all end up in albums/userpics/10001. Doesn't matter in what album they are. That info is only stored in the mysql db (as well as the pic title, caption, ratings etc)

If you want to batch add pics you create a subfolder in the albums folder and place your pics there. Coppermine will add these pics to the db and create thumbs and intermediate pics in the same directory. Means you mustn't delete that folder afterwards.

For more info read the docs http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#batch_add_pics
Title: Re: batch upload when self hosting
Post by: Dirk Diggler on September 22, 2006, 02:10:50 pm
I get the message that there are no subdirectories in the albums-folder but I did create a folder in albums-folder. How is it possible that Coppermine doesn't see this folder? I thought I have set the permissions well.

Title: Re: batch upload when self hosting
Post by: Dirk Diggler on September 22, 2006, 05:11:45 pm
Since I'm probably facing a permissions problem, I will post my questions in the right board. Thank you all for you help!