Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Filmstrip - Chnage info on the title tag  (Read 2507 times)

0 Members and 1 Guest are viewing this topic.

dreams83

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 54
Filmstrip - Chnage info on the title tag
« 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
« Last Edit: February 08, 2007, 09:47:34 am by GauGau »
Logged

Nibbler

  • Guest
Re: Filmstrip - Chnage info on the title tag
« Reply #1 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'];
Logged

dreams83

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 54
Re: Filmstrip - Change info on the title tag
« Reply #2 on: February 08, 2007, 09:21:01 am »

changed it and now it is working now.


Thank You
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.