Adding ad in full image pop-up Adding ad in full image pop-up
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Adding ad in full image pop-up

Started by AlwaysMiley, May 03, 2014, 03:29:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AlwaysMiley

Hi,

I would like to add a google ad above the pic when people click on the "normal_" sized photo to see the full size and the full pic window pops-up (preview: http://i.imgur.com/WtqGZCz.jpg). Can anyone help me please?

Thank you :)

gmc

The fullsize picture display is set by function 'theme_display_fullsize_pic'...
To modify, copy the function 'theme_display_fullsize_pic' from themes/sample/theme.php to your theme.php and modify.

Likely just an addition to the first setting of $fullsize_html that defines the <html>, <head>, and <body> tags.

For future, please attach images directly to posts rather than linking to them.
Linked images often disappear - making future sense of the thread more difficult. An attached image will remain for others to view.
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

AlwaysMiley