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: remark on top of intermediate image  (Read 3292 times)

0 Members and 1 Guest are viewing this topic.

claude258

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 150
    • Album photos Brière
remark on top of intermediate image
« on: March 11, 2006, 03:23:40 am »

I am using eyeball theme and I would like to put in evidance the fact that we can clic on the intermidiate image to get the original image.
How can I put a note over all the intermidiate images? Something like: "Clic on the image to see the original size"
I know there is a tool tip when the mousse is over the intermidiate image but I thinK it is not visible enough.

PS: The same question was asked for version 1.3.5 but it does not apply to version 1.4.3...or I'm wrong
http://forum.coppermine-gallery.net/index.php?topic=22597.0
« Last Edit: March 11, 2006, 09:41:00 am by GauGau »
Logged

Nibbler

  • Guest
Re: remark on top of intermediate image
« Reply #1 on: March 11, 2006, 03:30:32 am »

Add this code into your theme's theme.php and modify to suit.

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

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

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





<!-- BEGIN img_desc -->
                        <table cellpadding="0px" cellspacing="0px" 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;
Logged

claude258

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 150
    • Album photos Brière
Re: remark on top of intermediate image
« Reply #2 on: March 11, 2006, 03:48:36 am »

Thanks Nibbler!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: remark on top of intermediate image
« Reply #3 on: March 16, 2006, 08:42:13 am »

split unrelated posting into a new thread: http://forum.coppermine-gallery.net/index.php?topic=29216.0
Locking
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.