Filmstrip - Chnage info on the title tag Filmstrip - Chnage info on the title tag
 

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

Filmstrip - Chnage info on the title tag

Started by dreams83, February 07, 2007, 10:05:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dreams83

How may I go about changing the information on the title tag in the filmstrip section.
I don't want the filename, filesize and stuff to be the title.

I just want it to be the title of that particular picture or audio when you mouse over a file.

I have attached a screenshot below.


Thank You

Nibbler

You need to modify include/functions.inc.php in the display_film_strip() function


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


Set that to display whatever you like, try:

$pic_title =$row['title'];

dreams83

changed it and now it is working now.


Thank You