coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: rhydewithdis on May 11, 2004, 04:35:34 AM

Title: Created New Album in CPG Admin, now where is the directory to upload pics to?
Post by: rhydewithdis on May 11, 2004, 04:35:34 AM
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.
Title: Re: Created New Album in CPG Admin, now where is the directory to upload pics to
Post by: moorey on May 11, 2004, 06:20:41 AM
/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.
Title: Re: Created New Album in CPG Admin, now where is the directory to upload pics to
Post by: Joachim Müller on May 11, 2004, 08:09:43 AM
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
Title: Re: Created New Album in CPG Admin, now where is the directory to upload pics to
Post by: Casper on May 11, 2004, 09:47:24 AM
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.
Title: Re: Created New Album in CPG Admin, now where is the directory to upload pics to
Post by: rhydewithdis on May 11, 2004, 01:00:00 PM
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...
Title: Re: Created New Album in CPG Admin, now where is the directory to upload pics to
Post by: 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.
Title: Re: Created New Album in CPG Admin, now where is the directory to upload pics to
Post by: rhydewithdis on May 12, 2004, 09:55:28 PM
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.
Title: Re: Created New Album in CPG Admin, now where is the directory to upload pics to
Post by: Casper on May 12, 2004, 11:54:25 PM
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.