4images Forum & Community
4images Issues / Ausgaben => Feedback & Suggestions => Topic started by: Clow Read on January 13, 2003, 06:30:20 AM
-
could you create a feature for 4images where it uses a customized category/folder name instead the default one just like Gallery (http://gallery.sourceforge.net)...
example:
Category name: CLAMP
Folder name = 1
instead of the the no. 1 as it's folder name, we could tell 4images to use a customized name...
example:
Category name: CLAMP
Folder name = clamp
something like that...
-
One of the problems with this approach is the administrator can create long category names with embedded spaces and other punctuation. These kinds of names present problems for some operating systems.
-
well...that's true but you could always put some restrictions like spaces, !, ?, #, etc. and tell 4images to only use the allowed characters like an underscore ( _ ) and such
-
I'm definetly no PHP wizard but storing texts instead of integers for categories would make the database bigger and slower when receiving data from it, wouldn't it?
Could something like this be done:
category ID = 1
category folder name = 001_clamp
And when grabbing files from a category folder only the first three characters are taken and converted into integer. Would this be possible? Of course this would restrict the number of categories to 999 ... :)
cheers,
Bernd
-
well...i don't know
Gallery uses this kind of method and it can call a requested folder very fast
-
I think that 2 new features should be implement:
- category naming/folder naming
- folder indentation
1/ for the naming, it must work on
* string of title given by administrator
* a randomly number to prevent 2 category with the same name
2/ that should be better if we could have the same overlap with folders than with the really organization of our galleries ...
I worked on this two points ....
Inform you when it's done, if it's done ;)
-
yay! ^^
i'm looking forward for it!