Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 21, 2009, 09:22:24 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: cpg1.5.2 beta released
The brand new cpg1.5.x series that comes with a lot of new features finally has reached the release stage: a first public beta release cpg1.5.2 has been released that is mainly aimed at translators, testers and community members that have contributed in the past. The beta release is not meant to be used in a production environment, but only on testbeds and for evaluation purposes. There is currently no support for cpg1.5.x yet!
[more]
   Home   Help Search Board rules Login Register  
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: [Solved]: there's no complete answer for "thumbnail on mouseover", please give one.  (Read 1044 times)
0 Members and 1 Guest are viewing this topic.
albertvillain Topic starter
Coppermine newbie

Posts: 8


« on: May 22, 2008, 04:08:04 pm »

I spent hours in the forum searching for all keywords to this query but no answer is complete enough to help a non-html freak get rid of the picture info that appears when you place your mouse tip over a thumbnail.

I found this here by Gaugau:

"as there are several kinds of thumbs, there are several places to look: edit /include/funtions.inc.php and search for the term "<img" - you'll notice what to edit..."

but by always being so brief in answering, its not helpful for some novice like me and so the question will be asked over and over again.

please write where to start with, in theme.php? in style.css? in language.php?

so far I understand that I have to search for this:

                       $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 erase it but where to start with?

Thank you.
« Last Edit: May 23, 2008, 12:57:52 am by Joachim Müller » Logged
Fabricio Ferrero
Dev Team member
****
Gender: Male
Argentina Argentina

Posts: 1927


From San Juan, Argentina, to the World!


WWW
« Reply #1 on: May 22, 2008, 05:08:35 pm »

Hi, remember to back up before modifying files.

As Gaugau said, edit the file funtions.inc.php . Perhaps you didn’t get quite well what he meant.

Go to, ‘include’ folder and search ‘functions.inc.php’ file and edit it. Don’t erase the entire array. Just erase what you don’t want to appear anymore. I think if you are newbie, you should not edit functions.inc.php file, but if you really need it. Just do it.  Wink

Bye, post your result so it will be an entire answer for this thread. (If there isn't already)
Logged

Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website
Mi red de Rotaractianos:  Rotaract Latino
albertvillain Topic starter
Coppermine newbie

Posts: 8


« Reply #2 on: May 22, 2008, 06:07:23 pm »

Kiss Thank you so much! Perfect, it works now! I would have never even noticed that there was an Include folder, and all the millions PHP files that one can open and do stuff in.

So, to give a complete answer from a newbie for future newbies:

If you want to totally get rid of the little window with file info (file name, size, date uploaded) that appears when tool tip (mouse) hovers over a thumbnail visible the Random pictures area or when opening a folder:

open the include folder
open the functions.inc.php
scroll down a little more than halfway and find this title:
**
 * display_thumbnails()
 *
 * Generates data to display thumbnails of pictures in an album

inside that department search for this and erase it completely if you want to get rid of the window or erase only parameters you don't want displayed:

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


I did it and works perfectly. Thanks for the help!

And yes, remember to back up the php before cutting around! I forgot to do this yesterday with the English language php and my gallery stopped working due to my wrong edits in that list. Thanx god there is also British English in this world, so I could copy the php from British and paste it into English and it worked and I could save the day. Grin Grin Grin
Logged
Joachim Müller
Administrator
*****
Gender: Male
Germany Germany

Posts: 45051


aka "GauGau"


WWW
« Reply #3 on: May 23, 2008, 12:57:31 am »

And yes, remember to back up the php before cutting around!
Indeed!

I forgot to do this yesterday with the English language php and my gallery stopped working due to my wrong edits in that list. Thanx god there is also British English in this world, so I could copy the php from British and paste it into English and it worked and I could save the day. Grin Grin Grin
Well, re-downloading the coppermine package, extracting the US English language file and uploading that file would have done the trick just as well  Wink.
Logged
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.117 seconds with 18 queries.