batch upload when self hosting batch upload when self hosting
 

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

batch upload when self hosting

Started by Dirk Diggler, September 22, 2006, 12:00:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dirk Diggler

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!



Nibbler

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.

Dirk Diggler

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.

Stramm

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

Dirk Diggler

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.


Dirk Diggler

Since I'm probably facing a permissions problem, I will post my questions in the right board. Thank you all for you help!