Removing image name from thumbnails Removing image name from thumbnails
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Removing image name from thumbnails

Started by arlon, November 05, 2006, 07:31:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

arlon

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..

Nibbler

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>' : '';

arlon

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..