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: Adding HTML tags to the gallery  (Read 4350 times)

0 Members and 1 Guest are viewing this topic.

Lisa (Loving Lynam)

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Adding HTML tags to the gallery
« on: December 16, 2003, 03:40:44 pm »

I dont know how to word this, but here goes...
my gallery is http://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!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Adding HTML tags to the gallery
« Reply #1 on: December 16, 2003, 03:56:47 pm »

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
    Code: [Select]
    <!-- END logout -->Add after it (starting with a new line) something like
    Code: [Select]
                                           <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
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.