The path to the file name to upload photos

Phoca Gallery - image gallery extension
stepan39
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 20 Aug 2011, 07:34
Location: Russia, Moscow
Contact:

The path to the file name to upload photos

Post by stepan39 »

Hi!

We have the following structure:

/ images / phocagallery - the root folder
/ images / phocagallery / covers
/ images / phocagallery / covers / letter
/ images / phocagallery / covers / letter / artists
/ images / phocagallery / covers / letter / artists / album

Faced with this problem:

Photo files are here images/phocagallery/covers/Q/Queen/1974 - Sheer Heart Attack

When you try to add files to the gallery:
covers / - open
Q / - opened
1974 - Sheer Heart Attack - Kicks at the root

Modify (rename) a folder on the server last - images/phocagallery/covers/Q/Queen/1974-SheerHeartAttack / - all OK

I would like to have a nice looking structure - namely 1974 - Sheer Heart Attack, but not in 1974-SheerHeartAttack or 1974-Sheer_Heart_Attack

Does anyone know the cause and solution?
Last edited by stepan39 on 23 Aug 2011, 05:53, edited 3 times in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49181
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: The path to the file name to upload photos

Post by Jan »

Hi, what you mean exactly - "add to gallery covers"?
If you find Phoca extensions useful, please support the project
stepan39
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 20 Aug 2011, 07:34
Location: Russia, Moscow
Contact:

Re: The path to the file name to upload photos

Post by stepan39 »

Files already on the server in the folder
images/phocagallery/covers/Q/Queen/1974 - Sheer Heart Attack (example)

When you try to publish them (add gallery) I can not get to the files. That is, the problem is that the Phoca does not take the path to the file if the folder names have spaces
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49181
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: The path to the file name to upload photos

Post by Jan »

Hi, try to remove all spaces from the folder names
If you find Phoca extensions useful, please support the project
stepan39
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 20 Aug 2011, 07:34
Location: Russia, Moscow
Contact:

Re: The path to the file name to upload photos

Post by stepan39 »

Jan wrote:Hi, try to remove all spaces from the folder names
I specifically created the topic, to solve the problem of space. Is there any solution to the folder names with spaces are?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49181
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: The path to the file name to upload photos

Post by Jan »

Hi, this depends on server settings, mostly there can be some problems with spaces and diacritics, so such folders should not be used.

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