changing thumb title changing thumb title
 

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]

Main Menu

changing thumb title

Started by santoro, February 05, 2008, 09:03:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

santoro

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.

thapame

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

thapame

$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.

santoro

Maybe some local Coppermine expert will give us some advise :)