coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Makc666 on July 04, 2004, 02:19:57 AM

Title: thumbnails.php - Long picture title + views shred (crawl) over two lines
Post by: Makc666 on July 04, 2004, 02:19:57 AM
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]
Title: Re: thumbnails.php - Long picture title + views shred (crawl) over two lines
Post by: Makc666 on July 23, 2004, 08:26:57 PM
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.
Title: Re: thumbnails.php - Long picture title + views shred (crawl) over two lines
Post by: Joachim Müller on July 24, 2004, 12:53:37 PM
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