Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Removing image name from thumbnails  (Read 3209 times)

0 Members and 1 Guest are viewing this topic.

arlon

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Removing image name from thumbnails
« on: November 05, 2006, 07:31:38 pm »

Hello,
I would simply like to remove the name from below the thumbnails

example
http://www.agfx.eu/_/index.php?cat=3

I don't seem to find the option in the admin area, browsing through the template files didn't help.
I also searched in the forum but couldn't find anything useful..
« Last Edit: November 06, 2006, 12:01:24 am by Nibbler »
Logged

Nibbler

  • Guest
Re: Removing image name from thumbnails
« Reply #1 on: November 05, 2006, 10:36:40 pm »

The title is always there. If you want to remove it then you need to modify include/functions.inc.php and comment out this line

Code: [Select]
$caption .= ($row['title']) ? '<span class="thumb_title">' . $row['title'] . '</span>' : '';
Logged

arlon

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Removing image name from thumbnails
« Reply #2 on: November 05, 2006, 11:21:36 pm »

thank you, perfectly solved! :)

btw, just to let people know, I added
Code: [Select]
{
$$cap .= "<br>";
}
right after that line, to prevent possible rating images, etc, from touching the thumbnail's bottom..
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.