Page 1 of 1

The path to the file name to upload photos

Posted: 20 Aug 2011, 07:41
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?

Re: The path to the file name to upload photos

Posted: 21 Aug 2011, 00:25
by Jan
Hi, what you mean exactly - "add to gallery covers"?

Re: The path to the file name to upload photos

Posted: 23 Aug 2011, 05:47
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

Re: The path to the file name to upload photos

Posted: 25 Aug 2011, 13:20
by Jan
Hi, try to remove all spaces from the folder names

Re: The path to the file name to upload photos

Posted: 25 Aug 2011, 13:33
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?

Re: The path to the file name to upload photos

Posted: 25 Aug 2011, 18:46
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