forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Fabricio Ferrero on March 29, 2008, 05:29:20 pm

Title: Truncate WORDS in picture description.
Post by: Fabricio Ferrero on March 29, 2008, 05:29:20 pm
I found severals topics about truncate comments or picture description considering lenght of the comment. For example, "Long comments under thumbnails", "Truncate Comments and add ... ", "How to Break long words in comments?", "comment wrap, is it possible", and others... Well, I only use the "suite" from the french guy and work perfect.

Truncate the coment or picture description, for example to 200 characters or 15 words it's done.

BUT, the problem is, when a user of my gallery put a picture description like: "Helooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo!" the max_lenght_character (or similar) function doesn't show "(....)" instead of it don't modificate at all. Beacause that function only work on comments not picture description.

So, how to truncate words or change by (...) in pic description?

Please help!
Title: Re: Truncate WORDS in picture description.
Post by: Fabricio Ferrero on April 01, 2008, 04:34:45 am
Hi, again.. I know this is not a hotline... but, anyone???

I think this topic never discuss in this forum and if you can understand what I request it's so important!!

please... help!