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: Move image navigation  (Read 2713 times)

0 Members and 1 Guest are viewing this topic.

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
Move image navigation
« on: August 07, 2005, 07:15:53 am »

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?

Code: [Select]
// 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
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.