Advanced search  

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

Pages: [1]   Go Down

Author Topic: Truncate WORDS in picture description.  (Read 1725 times)

0 Members and 1 Guest are viewing this topic.

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Truncate WORDS in picture description.
« 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!
Logged
Read Docs and Search the Forum before posting. - Soporte en espaņol
--*--
Fabricio Ferrero's Website

Catching up! :)

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Truncate WORDS in picture description.
« Reply #1 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!
Logged
Read Docs and Search the Forum before posting. - Soporte en espaņol
--*--
Fabricio Ferrero's Website

Catching up! :)
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.