Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: changing picture description  (Read 2759 times)

0 Members and 1 Guest are viewing this topic.

klunstenaar

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
[Solved]: changing picture description
« on: April 09, 2009, 10:05:37 am »

Is it possible to have the description of the pictures, instead of under the picture, above the picture.

Hope someone can tell me if, and where i can do that..

Thxs Kluns~
« Last Edit: April 10, 2009, 10:22:08 am by Joachim Müller »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: changing picture description
« Reply #1 on: April 09, 2009, 10:31:30 am »

Are you talking about the intermediate image view? If yes, copy $template_display_media from themes/sample/theme.php into the theme.php you're actually using and modify it accordingly.

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;

klunstenaar

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: changing picture description
« Reply #2 on: April 09, 2009, 09:15:21 pm »

Stramm,...Thanx for the really fast and good working support!!!
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.