1
Discussion & Troubleshooting / lange Dateinamen kürzen/cut long filenames
« on: November 19, 2007, 11:04:05 PM »
Hallo,
ich suche eine Möglichkeit das wenn man zu einem Bild einen langen Dateinamen schreibt, dieser bei den Thumbnails gekürzt angezeigt wird.
Also wenn das Bild "Palme mit Kokosnuss in der Südsee" heißt, das unter dem Thumb nur mehr steht "Palme mit Koko..." und wenn es neu ist dass es dann nochmals drei Buchstaben weniger sind, als "Palme mit K...new". Warum? Damit nicht das ganze Layout verschoben wird.
Sollte eine "einfache" if then else anweisung sein. Nur wo muss ich diese anbringen?
english
Hi, i'm looking for a solution to cut long filenames under a thumb. Like the filename ist "palm with coconut at the south seas" under the tumb it should be "palm with coco..." an if the picture is new too, it should be 3 letters less like "palm with c...new" Why? So that the whole layout will not be shifted.
Should be a "simple" if then else tag, but i dont know where to change.
Thanks
Armin
ich suche eine Möglichkeit das wenn man zu einem Bild einen langen Dateinamen schreibt, dieser bei den Thumbnails gekürzt angezeigt wird.
Also wenn das Bild "Palme mit Kokosnuss in der Südsee" heißt, das unter dem Thumb nur mehr steht "Palme mit Koko..." und wenn es neu ist dass es dann nochmals drei Buchstaben weniger sind, als "Palme mit K...new". Warum? Damit nicht das ganze Layout verschoben wird.
Sollte eine "einfache" if then else anweisung sein. Nur wo muss ich diese anbringen?
english
Hi, i'm looking for a solution to cut long filenames under a thumb. Like the filename ist "palm with coconut at the south seas" under the tumb it should be "palm with coco..." an if the picture is new too, it should be 3 letters less like "palm with c...new" Why? So that the whole layout will not be shifted.
Should be a "simple" if then else tag, but i dont know where to change.
Thanks
Armin