It depends what theme you are using.
For the curve theme:
1. Open template.html and after:
<div id="cpg_main_block_outer">
<div class="cpg_main_block_inner">
{GALLERY}
<br /> <!-- workaround for issue 64492 - do not remove the line break! -->
</div>
</div>
add:
<div id="ad">PASTE YOUR AD CODE HERE</div>
<div style="clear:both;"></div>
2.Open style.css, find #cpg_main_block_outer and replace with :
#cpg_main_block_outer {
width: 75%;
float:left;
background-color: #ffffff;
background-image: url(images/frame_repeat.png);
background-repeat: repeat-y;
background-attachment: scroll;
background-position: left top;
padding-left: 20px;
}
#ad {
width: 20%;
float:left;
}
Change the width values to fit your needs.
If you have another theme then you have to tell me witch theme you have.
If you have a custom theme then you have to post a link to your gallery.
Anyway the code I just post it should help you understand what you have to do.
If you want the ad not to show on the image page (displayimage.php) and to have a small square ad at the left of the image, then ask.
Threads about ads:
how to insert ad code in the header? :
http://forum.coppermine-gallery.net/index.php/topic,77565.0.htmlCoppermine google adsense (coppermine display ads) :
http://forum.coppermine-gallery.net/index.php/topic,77566.0.htmlCopper Ads Plugin for Coopermine Version 1.5.x:
http://forum.coppermine-gallery.net/index.php/topic,70125.0.html