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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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