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

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

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