Move image navigation Move image navigation
 

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]

Main Menu

Move image navigation

Started by zac, August 07, 2005, 07:15:53 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

zac

Hi again.. another one...

I want to try and move the previous and next buttons so they are on either side of my image instead of the row above the image.  ie:

instead of:

<<             >>

      **pic**

i would like:


<<  **pic**   >>


here is a page in my site :   http://www.folkphotography.com/coppermine/displayimage.php?album=6&pos=4


DO i have to alter the HTML templates  in the theme to do this?  Combine the template for image navigation bar with intermediate image display?

// HTML template for the image navigation bar
$template_img_navbar = <<<EOT
        <tr>
                <td align="left" style="padding-top:20px;">&laquo; <a href="{PREV_TGT}" title="{PREV_TITLE}">Previous Photo</a></td>
                <td align="right" style="padding-top:20px;"><a href="{NEXT_TGT}" title="{NEXT_TITLE}">Next Photo</a> &raquo;</td>
        </tr>
        <tr>
                <td colspan="2">
                        <BR>
                       
                </td>
        </tr>
EOT;
// HTML template for intermediate image display
$template_display_picture = <<<EOT
        <tr>
                <td align="center" class="tableb" height="{CELL_HEIGHT}" style="white-space: nowrap; padding: 0px;">
                        <table cellspacing="2" cellpadding="0" class="imageborder">
                                <tr>
                                        <td align="center">
                                                {IMAGE}
                                                {ADMIN_MENU}
                                        </td>
                                </tr>
                        </table>


Am i barking in the right place?

I found a similar post.. however it went unanswered:

http://forum.coppermine-gallery.net/index.php?topic=19510.0

another option would to be have the previous + next link in the other nav bar with my album names in it (where the stats once were)  ... Home  >  Dogs                     << previous :  next > >

Is it possible to combine these templates in the theme or how would I go about this?

Thanks for any help... (probably Gau Gau or Nibbler)

Zac