Disable image information popup? Disable image information popup?
 

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

Disable image information popup?

Started by MillieJOBarreto, September 30, 2005, 01:45:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MillieJOBarreto

On image (thumbnails and fullsize) mouse-over, a popup with the file information shows up. I'd like to know how to disable that. Thanks. :)

Azrayen

Please post a link to your gallery, to let us see what kind of pop up is disturbing you.

Tx
Azy

Stramm

if it's the img title... then open functions.inc.php
find function display_thumbnails

a few lines below (~30) you'll see $thumb_list[$i]['image'] = ... in that line replace title=\"$pic_title\" with title=\"\"

edit: have forgotten to explain it for normal and fullsized... hover over the image.. read the text and search for it in your language file. Here just remove the text.. done

MillieJOBarreto

Quote from: Stramm on September 30, 2005, 02:22:37 PM
if it's the img title... then open functions.inc.php
find function display_thumbnails

a few lines below (~30) you'll see $thumb_list[$i]['image'] = ... in that line replace title=\"$pic_title\" with title=\"\"

edit: have forgotten to explain it for normal and fullsized... hover over the image.. read the text and search for it in your language file. Here just remove the text.. done

Thank you so much! :-* But I don't understand how to do it with the fullsized...  ::)

Stramm

yo, may be confusinig so ghere you go
find in displayimage.php
        echo "<a href=\"javascript: window.close()\"><img src=\"" . path2url($picname) . "\" $imagesize[3] class=\"image\" border=\"0\" alt=\"\" title=\"$picfile\n" . $lang_fullsize_popup['click_to_close'] . "\"/></a><br />\n";

replace with

        echo "<a href=\"javascript: window.close()\"><img src=\"" . path2url($picname) . "\" $imagesize[3] class=\"image\" border=\"0\" alt=\"\" /></a><br />\n";