forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: spa2036 on January 03, 2006, 09:52:11 pm
-
HAPPY NEW YEAR to all of you.
I need to hide the filename extension in the ALT tag when you hover over a thumbnail.
I would also like to hide the additional information shown in this tag. I think next option will work:
file functions.inc.php
change this code:
$pic_title =$lang_display_thumbnails['filename'].$row['filename']."\n".
$lang_display_thumbnails['filesize'].($row['filesize'] >> 10).$lang_byte_units[1]."\n".
$lang_display_thumbnails['dimensions'].$row['pwidth']."x".$row['pheight']."\n".
$lang_display_thumbnails['date_added'].localised_date($row['ctime'], $album_date_fmt);
to next code:
$pic_title =$lang_display_thumbnails['filename'].$row['filename']//."\n".
// $lang_display_thumbnails['filesize'].($row['filesize'] >> 10).$lang_byte_units[1]."\n".
// $lang_display_thumbnails['dimensions'].$row['pwidth']."x".$row['pheight']."\n".
// $lang_display_thumbnails['date_added'].localised_date($row['ctime'], $album_date_fmt);
;
Please correct me if I am wrong. Unfortunately I can not find a way to hide the filename information.
Thanks in advance for your support.
Regards, Rob
-
If you don't want anything, just use
$pic_title = '';
-
The only thing I want to be displayed is the filename without extension.
Is this possible?