thumbnails.php - Long picture title + views shred (crawl) over two lines thumbnails.php - Long picture title + views shred (crawl) over two lines
 

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

thumbnails.php - Long picture title + views shred (crawl) over two lines

Started by Makc666, July 04, 2004, 02:19:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Makc666

thumbnails.php - Long picture title + views shred (crawl) over two lines

If you go to any page like:
http://**********/thumbnails.php?album=10&lang=english

And look at any thumb which have a long title you will see that quantity of views can shred (crawl) over two lines.
You can see it on the attached picture.

I think you have to fix it this way.
The result you can see on the attached picture.

Open file:
/include/functions.inc.php

Find code:
           if ($CONFIG['views_in_thumbview']){
              if ($rowset[$key]['title']){$caption .= " – ";}

             
Replace with:
           if ($CONFIG['views_in_thumbview']){
              if ($rowset[$key]['title']){$caption .= "<br>";}

[attachment deleted by admin]

Makc666

Oh. It was my error. I forgot to upload include directory thats why I think it was fixed.
So this "bug" is still in 1.3.1
Hope authors will noticed my post.

Joachim Müller

consider this a bug if you want, I'd rather consider it a cosmetical issue, or even just a "matter of taste". I won't start a new line for every lousy bit of information, I can live well with the text going over two lines if necessary and over one line if not necessary, but of course you're free to change it.

GauGau