forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: tmatt95 on July 17, 2006, 11:22:20 pm

Title: Adding text below videos
Post by: tmatt95 on July 17, 2006, 11:22:20 pm
Hiya,
I am sory if this has already been mentioned in a previous topic ( have done a search and have found nothing) I am using Divx to suply the videos but at the moment people who do not have divx installed, see a blank space where the video is mean't to be. Is it possible to add some text under the videos/ pictures with a link to the divx website. Thanks for your help/ time,
Matt
Title: Re: Adding text below videos
Post by: Nibbler on July 17, 2006, 11:51:31 pm
Copy the image display template from themes/sample/theme.php to the theme.php of the theme you are using and modify your copy.

Code: [Select]
// HTML template for intermediate image display
$template_display_media = <<<EOT
        <tr>
                <td align="center" class="display_media" nowrap="nowrap">
                        <table cellspacing="2" cellpadding="0" class="imageborder">
                                <tr>
                                        <td align="center">
                                                {IMAGE}

                                        </td>
                                </tr>
                        </table>
                </td></tr>
                <tr><td>
                                                <table width="100%" cellspacing="2" cellpadding="0" class="tableb">
                                <tr>
                                        <td align="center">

                                                {ADMIN_MENU}
                                        </td>
                                </tr>
                        </table>





<!-- BEGIN img_desc -->
                        <table cellpadding="0" cellspacing="0" class="tableb" width="100%">
<!-- BEGIN title -->
                                <tr>
                                        <td class="tableb"><center><b>
                                                {TITLE}
                                        </b></center></td>
                                </tr>
<!-- END title -->
<!-- BEGIN caption -->
                                <tr>
                                        <td class="tableb"><center>
                                                {CAPTION}
                                        </center></td>
                                </tr>
<!-- END caption -->
                        </table>
<!-- END img_desc -->
                </td>
        </tr>

EOT;