Hi
I can't syncronize albums and pictures with norwegian letters like æ ø å.
Also I have folders with space.
Can this be done?
Hi,
sorry but actually no, it's advised to use only a-z A-Z 0-9 . - _ symbols (no spaces) on files and folders names, and a bit more is allowed
anyway you can change albums and photos names after the sync
Last edited by mistic100 (2012-03-20 19:22:17)
Offline
This will be possible in Piwigo 2.4 with a configuration setting, see [Bugtracker] ticket 414
Offline
Hi,
I gave a try to add all kind of permitted char, this is actually working quite well to add photos, only the quote char is giving me trouble because sql queries that insert path in the database are not escaped.
The big issue now is that piwigo is unable to generate thumbnails of photos having a space in their path. I did not figured out why yet (being a c# developer mainly i'm just unable to find where the thumbnails are generated in the php code :( ). Btw the download of an original photos is working.
Any clue ?
Offline
for information purpose here is my allowed chars regex (in file include/config_default.inc.php) :
$conf['sync_chars_regex'] = '/^[[:alpha:][:digit:]-_.\sÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ!\(\)\&\/\°]+$/';
I tried to find a predefined class that already included the accented chars ... I found that [:alpha:] should behave that way but it's actually not the case :(
Btw this regex is certainly not exhaustive and does not include the complete set of accented chars for all languages
Offline