coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: skidpics on September 09, 2007, 03:18:51 AM

Title: Wrap long filenames to a specified length
Post by: skidpics on September 09, 2007, 03:18:51 AM
Is there a tweak that will allow filenames to wrap around to a second line at a specified length?

Title: Re: Wrap long filenames to a specified length
Post by: Sami on September 09, 2007, 09:11:11 AM
As you can't have a space at your file name then wrapping  would be useless !
Title: Re: Wrap long filenames to a specified length
Post by: skidpics on September 09, 2007, 05:32:21 PM
Quote from: Sami on September 09, 2007, 09:11:11 AM
As you can't have a space at your file name then wrapping  would be useless !

I should have been clearer about the issue - It would be wrapped upon thumbnailed display, since sometimes, when the filenames are too long, the columns get out of alignment..


Title: Re: Wrap long filenames to a specified length
Post by: Joachim Müller on September 09, 2007, 08:11:48 PM
As Sami suggested: there would be no linebreak no matter what. You'd have to add code instead that truncates long filenames.