remark on top of intermediate image remark on top of intermediate image
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

remark on top of intermediate image

Started by claude258, March 11, 2006, 03:23:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

claude258

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

Nibbler

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


// 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;

claude258


Joachim Müller