Hi !
I have a video gallery with Coppermine and I would like to show the size of each video under the thumbnails. I know it is quite simple to do (something like one line of code in the right place), but I don't know how... It would be great if someone helped me !
And optional question : Is it also possible to show the video lenght ? (I know it's hard).
Thank you a lot (and congratulations for Coppermine and the dev team !) :o
you'll have to modify the core code in file functions.inc.php (function build_caption)
to show the video length in the info area...
config -> Custom fields for image description
you'll have to edit all movies and add the 'video length' manually.
if you have CPG 1.4.4 installed you should change line 1698 of your function.inc.php from
$thumb_list[$i]['caption'] = bb_decode($row['caption_text']);
to
$thumb_list[$i]['caption'] = bb_decode($row['caption_text'].($row['filesize'] >> 10).$lang_byte_units[1]);
Thank you it works great !
your welcome
then someone please flag this thread as a Solved :)