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 ad in full image pop-up  (Read 3094 times)

0 Members and 1 Guest are viewing this topic.

AlwaysMiley

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Adding ad in full image pop-up
« on: May 03, 2014, 03:29:09 pm »

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 :)
Logged

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 785
    • GMC Design Photo Gallery
Re: Adding ad in full image pop-up
« Reply #1 on: May 03, 2014, 04:09:45 pm »

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.
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

AlwaysMiley

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Adding ad in full image pop-up
« Reply #2 on: May 03, 2014, 04:49:10 pm »

thank you :)
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.