forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: santoro on February 05, 2008, 09:03:56 pm
-
Thumb title in Coppermine contains "file name". I want to change it to "file title". I have many YouTube videos in my gallery and their "file names" in "thumb title" are not very meaningful. I think this change would be more SEO friendly. Is it possible to change this? Thanks for answer.
-
yes Exactly
I was also looking for the same thing and about to post new thread.
but I found the thread already created.
actually I tried to modify the function display_thumbnails at functions.inc.php
I need to change
$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);
to somewhat like this
$pic_title=bb_decode($row['caption_text']);
but it's not working
may be I am doing some mistake, can anyone help through out this. and I am sure 'santoro' is also looking for the same thing
-
$pic_title=strip_tags(bb_decode($row['caption_text']));
is working fine but it's also displaying the date after the image title ???
couldn't figure how to do. still looking on forums.
-
Maybe some local Coppermine expert will give us some advise :)