Support > cpg1.5 themes (visuals)

How to add an adcode or text/other into the photo window

(1/5) > >>

Hanna.:
I would like to know how to put an adcode or text or some other material in the fullsize image window? (javascript)

Thanks in advance.

Jeff Bailey:
Edit your custom themes theme.php
http://documentation.coppermine-gallery.net/en/theme_theme_php.htm#theme_php
http://documentation.coppermine-gallery.net/en/theme_theme_php.htm#theme_create_theme_function_display_fullsize_pic

Please post a link for more information.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616

Hanna.:
Yes I have this in my theme.php:
--- Code: ---function theme_display_fullsize_pic()
--- End code ---

If my adcode is:
--- Code: ---<!-- ValueClick Media 728x90 LEADERBOARD CODE for Kristin Cavallari Daily -->
<script src="http://cdn.fastclick.net/js/adcodes/pubcode.min.js"></script><script type="text/javascript">document.write('<scr' + 'ipt type="text/javascript">(function () {try{VCM.media.render({sid:66524,media_type:5,version:"1.2"});} catch(e){document.write(\'<scr\' + \'ipt type="text/javascript" src="http://media.fastclick.net/w/get.media?sid=66524&tp=5&d=j&t=n&exc=1"></scr\' + \'ipt>\');}}());</scr' + 'ipt>');</script><noscript><a href="http://media.fastclick.net/w/click.here?sid=66524&m=1&c=1" target="_blank"><img src="http://media.fastclick.net/w/get.media?sid=66524&tp=5&d=s&c=1&vcm_acv=1.2" width=728 height=90 border=1></a></noscript>
<!-- ValueClick Media 728x90 LEADERBOARD CODE for Kristin Cavallari Daily -->


--- End code ---

How shall this then work?

Αndré:
Just add it to your favorite location in the HTML part inside that function (search for $fullsize_html).

Hanna.:
You mean in theme.php? Or in some other file? I'm so confused...

Navigation

[0] Message Index

[#] Next page

Go to full version