forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: dreams83 on February 07, 2007, 10:05:00 pm

Title: Filmstrip - Chnage info on the title tag
Post by: dreams83 on February 07, 2007, 10:05:00 pm
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
Title: Re: Filmstrip - Chnage info on the title tag
Post by: Nibbler on February 07, 2007, 10:26:14 pm
You need to modify include/functions.inc.php in the display_film_strip() function

Code: [Select]
                        $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:

Code: [Select]
$pic_title =$row['title'];
Title: Re: Filmstrip - Change info on the title tag
Post by: dreams83 on February 08, 2007, 09:21:01 am
changed it and now it is working now.


Thank You