forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: dacian20033 on May 08, 2009, 05:28:10 pm
-
My question is quite simple, if it is possible when you are runing your mouse over a picture (after you have clickend on the thumbail) to show an custom text. Like click to close or something.
If it is possible can you please help me, and tell me how to do that?
Thanks
-
Edit lang/yourlanguage.php (e.g. lang/english.php), find
'view_fs' => 'Click to view full size image',
and edit as you see fit.
-
Thanks for the answer. Now can I do the same thing but to the thumbails?
I found "lang_display_thumbnails" , but i don't know what to edit there to show me what i want instead of filemane, filesize etc.
Please help :'(
-
Depends on what you want to accomplish. You might want to edit include/functions.inc.php, find
$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);
and edit as you see fit, if editing the language file is not enough for you.
However, we have a strict "one question per thread (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270618.html#msg270618)" policy that you agreed to respect when signing up!