Truncate WORDS in picture description. Truncate WORDS in picture description.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Truncate WORDS in picture description.

Started by Fabricio Ferrero, March 29, 2008, 05:29:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fabricio Ferrero

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!
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Fabricio Ferrero

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!
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)