Created New Album in CPG Admin, now where is the directory to upload pics to? Created New Album in CPG Admin, now where is the directory to upload pics to?
 

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

Created New Album in CPG Admin, now where is the directory to upload pics to?

Started by rhydewithdis, May 11, 2004, 04:35:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rhydewithdis

I tried a search on this but couldn't find any similiar posts... hopefully this isn't too no0b of a question, but I created an album through CPG logged in as an admin.  I then moved some photos from one album to the new one just created.  Now I want to FTP a whole set of pics over to the newly created album and batch add them, but I can't find the album under the '/gallery/albums/' directory! What gives? I'm obviously missing something here.

moorey

/gallery/albums/ - gallery as your CPG folder name on your host, it should contain a folder called "albums" in it - that's where you upload your photos to (folder or files).  When you do a batch upload, you choose the files or folder from the /gallery/albums folder into the albums your created in CPG.  They don't have to be the same name.

Joachim Müller

my 2c: make sure not to upload into the "userpics" folder. Also make sure that your folder doesn't contain dots or single qutoes in it's name.

GauGau

Casper

And my pennyworth.

When you create the folder, it can have the same name as the album you want to put the pics in, in fact it is recommended you mirror the category/album structure, for ease of admin.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

rhydewithdis

Okay maybe I wasn't clear...

Here is what I did:
1) Logged in as admin into CPG
2) Went to 'Albums' while logged in as admin in CPG and created new album "Birthday"
3) Went to another album, selected "edit pics" and moved 3-4 pictures into the new album "Birthday"
4) Fired up my FTP client, went to '/gallery/albums' ('/gallery/' being my CPG folder name on my host) and could not find the "Birthday" album that I created w/i CPG while logged in as admin

The 'Birthday' album certainly exists, since I can see both the gallery and the 3-4 pictures I moved into it w/i CPG. 

So where does the actual folder for 'Birthday' exist along with the pictures I moved into it?  perplexing...

Casper

Ok,

we need to be clear, so there is no mis-understanding.

1.  When you create an album, it is a 'virtual' album.  Coppermine doesn't create a folder for this album, it leaves the pictures where they are on the server, and uses the database to know which pic belongs in which album. you can move pics from album to album, but this is all done in the database, the pics are never moved on the server.

2.  When you upload by html, using the upload' link, coppermine places the pic (and the thumb and normal size copies) in the 'userpics' directory.

3.  When you upload by ftp, you should place the pics in a folder you create, within the 'albums' folder, but not in the userpics folder.  You can create as many folders/sub-folders here as you want. you can callthese folders anything you want, but we recommend mirroring the category/album structure you have created on the site, for eae of use.

4.  When you batch add, coppermine asks you what album you want to put the pics in, but it leaves the pics where they are on the server.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

rhydewithdis

Quote from: Casper on May 11, 2004, 03:08:37 PM
Ok,

we need to be clear, so there is no mis-understanding.

1.  When you create an album, it is a 'virtual' album.  Coppermine doesn't create a folder for this album, it leaves the pictures where they are on the server, and uses the database to know which pic belongs in which album. you can move pics from album to album, but this is all done in the database, the pics are never moved on the server.

2.  When you upload by html, using the upload' link, coppermine places the pic (and the thumb and normal size copies) in the 'userpics' directory.

3.  When you upload by ftp, you should place the pics in a folder you create, within the 'albums' folder, but not in the userpics folder.  You can create as many folders/sub-folders here as you want. you can callthese folders anything you want, but we recommend mirroring the category/album structure you have created on the site, for eae of use.

4.  When you batch add, coppermine asks you what album you want to put the pics in, but it leaves the pics where they are on the server.

Thank you; now I understand -- on that same line of thinking, if you could help me with this -- when I delete an album in coppermine, does that also delete the files stored on the server? thanks.

Casper

When you delete an album, coppermine assumes you want to delete all the pics in it, and deletes them from the server.  It does warn you first, and ask if this is what you want.
If you want to keep the pics, move them into the album you want them in first, then delete the album.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here