Create Webpage: Truncate long filenames
Posted: Thu Feb 05, 2009 9:15 am
1. If the name of an image is too long (e.g. 78456854823476239759714571095674691834592475627485602.jpg) the layout will break resulting in abnormally large thumbnail cells, consequently annoying horizontal scrollbars will appear at the bottom if the screen resolution isn't big enough.
For instance, an 8-column page consisting of 100x100 thumbnail cells which's displayed perfectly on a 1024x768 screen, looks terrible on the same screen because of the long names.
I'd suggest an option for truncating the filenames displayed on the thumbnail page to a lenght that never surpasses the horizontal size of the thumbnails. The name of the original images should remain intact, though.
2. Would you consider adding a template which looks more or less like this one?
Regards
For instance, an 8-column page consisting of 100x100 thumbnail cells which's displayed perfectly on a 1024x768 screen, looks terrible on the same screen because of the long names.
I'd suggest an option for truncating the filenames displayed on the thumbnail page to a lenght that never surpasses the horizontal size of the thumbnails. The name of the original images should remain intact, though.
2. Would you consider adding a template which looks more or less like this one?
Regards
