forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: MillieJOBarreto on September 30, 2005, 01:45:19 am

Title: Disable image information popup?
Post by: MillieJOBarreto on September 30, 2005, 01:45:19 am
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. :)
Title: Re: Disable image information popup?
Post by: Azrayen on September 30, 2005, 02:06:59 pm
Please post a link to your gallery, to let us see what kind of pop up is disturbing you.

Tx
Azy
Title: Re: Disable image information popup?
Post by: 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
Title: Re: Disable image information popup?
Post by: MillieJOBarreto on October 09, 2005, 03:18:46 am
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...  ::)
Title: Re: Disable image information popup?
Post by: Stramm on October 09, 2005, 12:20:59 pm
yo, may be confusinig so ghere you go
find in displayimage.php
Code: [Select]
        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
Code: [Select]
        echo "<a href=\"javascript: window.close()\"><img src=\"" . path2url($picname) . "\" $imagesize[3] class=\"image\" border=\"0\" alt=\"\" /></a><br />\n";