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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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