Adding HTML tags to the gallery Adding HTML tags to the gallery
 

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

Adding HTML tags to the gallery

Started by Lisa (Loving Lynam), December 16, 2003, 03:40:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lisa (Loving Lynam)

I dont know how to word this, but here goes...
my gallery is //www.lovinglynam.com/galleryI added the back button to the end of my script and this is how it turned out. I want to know how do I get it to appear beside where it says 'Lisas Lynam Gallery' instead of on top..because it looks stupid to me! Thanks for any help!

Joachim Müller

hm,

the style of the button has nothing to do with coppermine, so consider these hints just as some sort of smart-a** comments:
  • have the border attribute in <img> tags always set, and always set to zero (something like <img src="foo.bar" border="0">)
  • if you build your own buttons, always think first what color the background will be, and always use anti-aliasing
  • if you use buttons "borrowed" from somewhere else, make sure they work on your background - the button you chose has ugly white dots on its borders
  • don't use animated buttons, especially not flashing ones - they suck[/list:u]Back to your issue: you can integrate your "back"-link into the coppermine nav: edit /themes/yourtheme/theme.php (I guess you're using hardwired, so that's what below code works for) and look for<!-- END logout -->Add after it (starting with a new line) something like                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                            <td><img name="buttonleftout" src="themes/hardwired/images/buttonleftout.gif" width="17" height="25" border="0" id="buttonleftout" alt="" /></td>
                                            <td background="themes/hardwired/images/buttoncenter.gif">
                                                    <a href="/">Home</a>
                                            </td>
                                            <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" id="buttonright" alt="" /></td>
    GauGau