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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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! :)