coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: DBZFYAM on May 19, 2004, 08:04:25 PM

Title: Categories in albums.
Post by: DBZFYAM on May 19, 2004, 08:04:25 PM
I've just installed Coppermine on my server through Fantastico, but I have 2 questions: I want to create categories in the albums (subfolders) but when I try to add a category I can't specify the 'main folder' where it has to be in (like this: main folder: pics and subfolder: garden). I also tried it vice versa and had the same problem. This might be a stupid question but I just can't get it to work. I've also tried to upload pictures via FTP and there's the next problem: The categories/albums aren't there. Just index.html. So I created some folders where I've put the pictures in, but they don't show up. So I tried it with the plugin (xp_publish.php) and then it worked. I thought it would've created the folders itself, but I get strange folders like 'wpw-09' etc. I have about 64 images AND 64 of those strange folders. Can someone help me with this? There was no documentation included when I installed it with Fantastico. Thanks in advance.

PS: I hope you know what I mean since I'm not that great with English :p
Title: Re: Categories in albums.
Post by: Casper on May 19, 2004, 08:33:34 PM
You cannot put categories in albums, you put albums in categories.  You can have sub-categories inside categories, as well as albums.  The albums contain the pics.

When you create categories and albums, these are recorded in the database, but there are no foders created for them.
When you ftp pics, you must put them in folders you create, inside the albums folder, but not in the userpics folder.  That is where coppermine puts pics uploaded by users using the upload link.
Remember to chmod these new folders you make to the same as the albums folder.
When you have uploaded the pics to these folders, go to the 'batch add' and plut them in the albums you want.

Please read the docs.
Title: Re: Categories in albums.
Post by: DBZFYAM on May 19, 2004, 09:45:26 PM
It works now but it doesn't add 75% of the pictures since they're GIF's. I've added GIF to the option menu but it just doesn't allow it: When using the GD image library allowed image types are only JPEG and PNG. It doesn't even have to resize them since they're less than 1024 by 768 pixels. How can I fix this?
Title: Re: Categories in albums.
Post by: Casper on May 19, 2004, 11:17:01 PM
No,
GD cannot do gif's, and imagemagic can, but the thumbs and intermediates will be bigger files than the originals.  This is because of copyright issues with gifs.  This should change later this year, when the copyright expires.
Nothing coppermine can do about that.