Page 1 of 1
Maybe a problem with the paths?
Posted: Sat Dec 16, 2006 4:15 pm
by lordcoffee
HI!
as you can see in the following image I think I have a prob with the paths.
Firefox 2.0 shows me the right description in the gallery treeview. In the detailed view the path leaves all "Umlaute" (ä,ö,ü) blank. IE 7 doesnt show me any Image in the gallery. This I think could be a problem with the spaces in the foldernames. I want to let my visitors see self explaining folders for the gallery so the folders shouldn't look like "theo_taeglich_Anders". It's more beautiful if they were looking like "Theo Täglich und Anders". Is there any solution for that?
Thanks and greetings,
Lordcoffee
Posted: Sun Dec 17, 2006 2:41 am
by mgroeninger
Hi Lordcoffee,
I don't have an easy solution for this right now. Unfortunately it seems like IE won't do the proper translation for the 'ä' character. To work around it I would have to find some way to do url encoding, but I can't recreate this problem on my server so I can't even test it. Under UTF-8 I have more severe path problems, while under native encoding it just strips the character out.
The easiest way to fix this would be to create a metadata layer above the directories so that you could name a directory one thing (like "TheoTglichundAnders", which would be completely path safe) and have a display string that is separate (ie 'Theo Täglich und Anders') but is used for display purposes.
Carl requested something like this not too long ago here:
http://www.s9y.org/forums/viewtopic.php ... +directory
Judebert put it on the SourceForge.net feature tracker, so it is recorded somewhere.
This is a feature I would love to work on, but I am headed back to school in less than a month and I'm not sure I will have much time. I'll mull it around and see if I can come up with a simple way of doing it, though. (Really it isn't much. The easiest way to do it would be with a table that stored actual directory name, title, description, and an id key. I'd just like to see it flexible enough to allow an image to be associated with it, too. And I'm not sure how Garvin would feel about adding another table to the core schema.)
Posted: Fri Dec 22, 2006 3:29 pm
by lordcoffee
Maybe I have an Idea for that but I don't know if it would work.
The "nornal" look of my folderstructure is like:
061201_Test_Folder
Year, month, day and "_" instead of spaces. Would it be possible to insert a kind of regexp markup so the gallery does not show the first 6 characters of the foldername and replaces all "_" with an
?
So if this is possible what would the regexp look like?
Thanks,
Lordcoffee.