Album Thumbnails - stop displaying filename on mouseover Album Thumbnails - stop displaying filename on mouseover
 

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]

Main Menu

Album Thumbnails - stop displaying filename on mouseover

Started by webfountain, July 18, 2007, 07:29:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

webfountain

Hi

I'd like to be able to stop the filename being displayed by the ALT tag when moving the mouse over an album thumbnail

I'm sure it's pretty obvious but it's defeating me

Thanks

Pete

Nibbler

include/functions.inc.php - display_thumbnails()


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


Adjust to suit.

webfountain

Nibbler

Thanks

Yes, I found that to change what is displayed when doing a mouseover on the images in an album.

What I want to do is remove the filename displayed when you do a mouseover on the thumbnail image of the album, when you are viewing all the albums in a category.

Pete

Nibbler

Sorry.

index.php has 2 lines like this:


                $alb_list[$alb_idx]['thumb_pic'] = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$picture['filename']}\" />";


You can remove the alt tag from there.

webfountain


mywedding

Quote from: webfountain on July 18, 2007, 08:22:41 PM
Nibbler

You are a star!

Thanks

Pete

hi nibber, well , i need diffrent information about, that , how could  i  add "descraption or keywords" info for thumbs. ,instead of filenames, when mouse over is over the thumbs. ...thx much,

my english bad, :)
Dreams are free, so free your dreams, "Astrid Alauda"

Joachim Müller