forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: Silur3D on June 30, 2015, 10:53:44 am

Title: Upload into folderstrukture
Post by: Silur3D on June 30, 2015, 10:53:44 am
Is it possible upload into folderstrukture?
 Folder->albums->:
xxx1
xxx2
xxx3
xxx4


But not the "Batch-Upload" funktion (from webspace in Coppermine)

Sili ;D
Title: Re: Upload into folderstrukture
Post by: gmc on June 30, 2015, 02:54:49 pm
Obviously 'Batch Upload' does... but you don't want that...

The interactive uploads will all go to folder albums->userpics->100nn - when nn represents the user (key in user table).

There is a hidden option that goes one step further and uses folders albums->userpics->100nn->nnn where nnn is the album id being loaded to. Intended to address issues where there are limits to the number of files in a folder.

Easiest way to access this option is to install the 'Hidden Options' plugin, and use its config menu to set.
http://forum.coppermine-gallery.net/index.php/topic,77314.msg373798.html#msg373798 (http://forum.coppermine-gallery.net/index.php/topic,77314.msg373798.html#msg373798)

Would this give you what you are looking for?
Title: Re: Upload into folderstrukture
Post by: Silur3D on July 01, 2015, 07:27:22 am
hmmm....
i need it for this strukture:

city1 -> street1
city1 -> street2
city1 -> street3
city2 -> street1
city3 -> street3
city3 -> street2

Title: Re: Upload into folderstrukture
Post by: gmc on July 01, 2015, 02:01:03 pm
Perhaps an explanation of why you are trying to do this would help?
You certainly can do exactly this with Admins performing batch upload...

You can also have a category/album structure that follows the city/street structure regardless of what folder names pictures are stored in (the filesystem structure is completely independent of the category/album structure). 

Pictures for non-admins are kept in their userid folder in userpics by design. I don't see a simple way to alter this.
But they can attach their photos to any album they are permitted to upload to.