Multiple image upload to a sub-category

Phoca Gallery - image gallery extension
seabassvg
Phoca Member
Phoca Member
Posts: 11
Joined: 24 Feb 2009, 14:55

Multiple image upload to a sub-category

Post by seabassvg »

Hi

i seem to be struggling to post multiple images to a sub-category. I am aware that one can create sub-cateogires by uploading a folder with sub-folders, but this does not seem to work. Also, when I physically add sub-sub-category I cannot access the sub-sub folder through the backend image upload section (in order to choose it). So here is my dilemma:

i have created category: Architect - Sub category: Province. The intention is to load multiple images via the folder method and automatically create sub-sub cateogires, for example the folder called "architect name" inlcudes sub-folders called "projects 1, 2,etc" Loading this via Java upload simply extracts the images out of the folders and places them in the original sub-cateogry "Province" with no added categories. What am I doing wrong??

Ideally I would also be able to have users upload this way themselves va the front end. Is this possible. Also I cannot seem to set the gallery so that unregisterd users can view them but not edit them, even thought htey are set to PUBLIC.

Any help or guidance would be much appreciated.

Sebastian
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Multiple image upload to a sub-category

Post by caro84g »

Hi,

in the multiple add dialog, 2 processes are displayed.
Process 1: uploading images to your server (which is what you did)
Process 2: adding images to a gallery. (this is the one you didn't)

To add images to you gallery you need to tick the folder - in the top dialog - you want to create a subcategory from (if you click on a folder you see the contents of this folder). Then you can select a parent category (if you want to). Then press Save. Right now Phoca Gallery should be creating thumbs and if it's done you see a blue bar saying '... categories added, ... images added' (on the dots the number of images)

I hope it's clearer now.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
seabassvg
Phoca Member
Phoca Member
Posts: 11
Joined: 24 Feb 2009, 14:55

Re: Multiple image upload to a sub-category

Post by seabassvg »

Hi Carolien

Sorry I must be miising something..

I have the following:
Category - Architects
SubCategory - Region

When I go to multiple upload I select Java upload and select a folder (architect-name) with 4 subfolders insides (project-names) and press upload. The files then upload and list below the subcategory (region) folder in the top dialog box, but show no uploaded folder structure. Then I select the subcategory (region) folder tick box as you mentioned abd press save.

No thumbnails seem to be created and no image are shown in the phoca image section. When I view the media manager all the images have been placed (no folder structure) under the original main catergory (Architects). :?

What I am trying to achieve is this. I create the first two categories, then I would like the user to upload a folder with subfolders, in order to create these new subcategories automatically. They must not be able to create new categories any other way.

What am I missing?

Thank you for you help

Sebastian
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Multiple image upload to a sub-category

Post by caro84g »

Hi,

I don't know if you can upload folders with the Java uploader, I usually use FTP to upload my pictures.
And via the frontend no subcategories can be created (only one category per user)

Another question. We are talking about the 'multiple add' dialog in the backend aren't we?

Some documentation about the subjects:
uploading images: https://www.phoca.cz/documents/2-phoca-g ... ing-images
multiple adding images: https://www.phoca.cz/documents/2-phoca-g ... categories
User upload: https://www.phoca.cz/documents/2-phoca-g ... ser-upload

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
seabassvg
Phoca Member
Phoca Member
Posts: 11
Joined: 24 Feb 2009, 14:55

Re: Multiple image upload to a sub-category

Post by seabassvg »

Hi Carolien

Thank you for your patience. I was trying to load stuff form a localhost and I think I confused things. I have now figured it out and it works great. Once I am up and running I will defininatey donate to the project.

Can one arrange the categories galleries automatically to become alphabetically listed? i have tried to changed the order in the backend, but only a portion of the categories sort themselves.?

Sebastian
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Multiple image upload to a sub-category

Post by caro84g »

Hi,

As far as I know, this is not possible. You have to sort it by hand.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
seabassvg
Phoca Member
Phoca Member
Posts: 11
Joined: 24 Feb 2009, 14:55

Re: Multiple image upload to a sub-category

Post by seabassvg »

Yikes, I will have thousands of catergories. well maybe Jan will put it in an update. Baie dankie
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Multiple image upload to a sub-category

Post by caro84g »

Hi,

I've seen some solutions / improvements around considering ordering (newest first etc.). You can try to change these to name ordering or something like that.

You could try to hack the core files so that it displays the ascending order of the name, instead of ordering...

I just don't know which files and what to change...

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Post Reply