coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: arlon on November 05, 2006, 07:31:38 PM

Title: Removing image name from thumbnails
Post by: arlon 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..
Title: Re: Removing image name from thumbnails
Post by: Nibbler 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

$caption .= ($row['title']) ? '<span class="thumb_title">' . $row['title'] . '</span>' : '';
Title: Re: Removing image name from thumbnails
Post by: arlon on November 05, 2006, 11:21:36 PM
thank you, perfectly solved! :)

btw, just to let people know, I added
{
$$cap .= "<br>";
}

right after that line, to prevent possible rating images, etc, from touching the thumbnail's bottom..