Categories in albums. Categories in albums.
 

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

Categories in albums.

Started by DBZFYAM, May 19, 2004, 08:04:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DBZFYAM

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

Casper

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.
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

DBZFYAM

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?

Casper

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.
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