Advanced search  

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

Pages: [1]   Go Down

Author Topic: Filmstrip - Chnage info on the title tag  (Read 2469 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.063 seconds with 16 queries.