Advanced search  

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

Pages: [1]   Go Down

Author Topic: batch upload when self hosting  (Read 3235 times)

0 Members and 1 Guest are viewing this topic.

Dirk Diggler

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
batch upload when self hosting
« 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!


« Last Edit: September 22, 2006, 06:43:39 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: batch upload when self hosting
« Reply #1 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.
Logged

Dirk Diggler

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: batch upload when self hosting
« Reply #2 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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: batch upload when self hosting
« Reply #3 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

Dirk Diggler

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: batch upload when self hosting
« Reply #4 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.

Logged

Dirk Diggler

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: batch upload when self hosting
« Reply #5 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!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.