[Solved]: Whend mouse on picture show a text [Solved]: Whend mouse on picture show a text
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Whend mouse on picture show a text

Started by dacian20033, May 08, 2009, 05:28:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dacian20033

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

Joachim Müller

Edit lang/yourlanguage.php (e.g. lang/english.php), find  'view_fs' => 'Click to view full size image',and edit as you see fit.

dacian20033

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

Joachim Müller

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" policy that you agreed to respect when signing up!