Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Disable image information popup?  (Read 2878 times)

0 Members and 1 Guest are viewing this topic.

MillieJOBarreto

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 3
    • DearJoaquin.com
Disable image information popup?
« 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. :)
Logged

Azrayen

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 87
    • azrayen.net
Re: Disable image information popup?
« Reply #1 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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Disable image information popup?
« Reply #2 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

MillieJOBarreto

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 3
    • DearJoaquin.com
Re: Disable image information popup?
« Reply #3 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...  ::)
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Disable image information popup?
« Reply #4 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";
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.