Change what shows on "Mouseoverimage" thumbnail Change what shows on "Mouseoverimage" thumbnail
 

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

Change what shows on "Mouseoverimage" thumbnail

Started by net, January 19, 2009, 10:03:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

net

Hi,

I'm trying to modify what shows when you put your mouse over a thumbnail, but i can't find the code for it.

Example: when i drag my mouse over a thumbnail i get this information about it:

Filename=beautiful_world_ns.flvFilesize=14643KBDimensions=320x240Date added=Jan 07, 2009

Is there anyway to change this to only display:

Date added= Jan 07, 2009

You can see for your self on my gallery here: http://dkeserver.no-ip.org/gallery (drag mouse over thumbnail)

If you could point me into the right direction in the code, ill probably figure it out my self, thanks for the help!

Nibbler

Modify include/functions.inc.php here


                        $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);

net


net

Sorry to open this one up again, i've noticed while using "highslide" plugin it uses these data from functions.inc.php to function properly. Is there anyway to tell browers to not display this information on "mouseover" but keep the code in functions.inc.php?

If i remove or modify the code as mentioned above, my highslide picture plugin will fail to work properly.

Thank you!

Nibbler


hobert

Sami came up with a novel way of affecting the ALT text (the text that shows up when you hold the mouse over a thumbnail) at the point the html is built for a thumbnail via your themes.php, with no modification to the functions.inc.php file -- which also means no problem with updating.  Not to sure how it would affect any plugins, though.

http://forum.coppermine-gallery.net/index.php/topic,34859.0.html