Folder issue with multi image upload

Phoca Gallery - image gallery extension
lee_haire
Phoca Member
Phoca Member
Posts: 37
Joined: 22 Aug 2023, 17:49

Folder issue with multi image upload

Post by lee_haire »

Hi Jan,

There is an issue with sub-folders in the multi-upload.

Example:
I create Folder A in the multi-add screen.
Then I drill into Folder A and create another folder A-1 (which is a sub-folder of folder A).
Now, I want to upload images into folder A-1.
However, this doesn't work. When I drill into Folder A, the filenames below don't get refreshed (they are still showing all the root folders). As such, I can never get into folder A-1 in order to upload the images there. I am stuck only every being able to upload images to folders created at the root. I can't upload images into sub-folders.

Here are some screenshots of my specific example.
In multi-add, I created a root folder "Inozetek Piggy Bank"
Image
Next, in multi-add, I created a sub-folder of the above folder called "Set 1". I know it got created correctly because when I look on the server it is there.
Image
Now, when I drill into "Inozetek Piggy Bank", I still see all the root folders (I don't see the sub-folders of "Inozetek Piggy Bank"). Hence, I am not able to upload images into Set 1 - instead they will get uploaded into the root folder "Inozetek Piggy Bank".
Image

Thanks,
Lee
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48343
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Folder issue with multi image upload

Post by Jan »

Hi, do you get the same problem when you use standard naming of folders (no spaces, etc.):
https://www.phoca.cz/documentation/77-p ... ing-images

Jan
If you find Phoca extensions useful, please support the project
lee_haire
Phoca Member
Phoca Member
Posts: 37
Joined: 22 Aug 2023, 17:49

Re: Folder issue with multi image upload

Post by lee_haire »

Hi Jan,

Let me try it that way - I didn't know about this convention. Thanks.

Regards,
Lee
lee_haire
Phoca Member
Phoca Member
Posts: 37
Joined: 22 Aug 2023, 17:49

Re: Folder issue with multi image upload

Post by lee_haire »

Hi Jan,

After following the recommended convention, I was able to do this correctly. Issue is resolved. Thank you very much.

One additional question - am I able to rename / reorganize the existing folders (which contain images previously uploaded) or will that destroy the link to the existing images?

Lee
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48343
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Folder issue with multi image upload

Post by Jan »

Hi, yes, links stored in database including the path (images including their folders). So when moving image, such connection will be lost.

Jan
If you find Phoca extensions useful, please support the project
Post Reply