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: [Solved]: how to modify the full size popup page?  (Read 2487 times)

0 Members and 1 Guest are viewing this topic.

Fed

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • Imagetemple.com
[Solved]: how to modify the full size popup page?
« on: February 26, 2008, 09:46:00 pm »

Hello guys, I'm using coppermine and would like to modify the displayimage.php page to display a banner in the full size popup you get when you click the medium size image

to make it clear, here's a midsize image http://www.imagetemple.com/gallery/displayimage.php?album=18&pos=6, when you click it you get the full size one, that's the page I want to modify

both the pages are displayimage.php so there must be some condition that identifies the popup etc...where would I edit this file to add a banner?

thank you guys
« Last Edit: February 26, 2008, 11:23:07 pm by Joachim Müller »
Logged

Nibbler

  • Guest
Re: how to modify the full size popup page?
« Reply #1 on: February 26, 2008, 10:05:13 pm »

Copy theme_display_fullsize_pic() from the sample theme into your custom theme.php and modify your copy.
Logged

Fed

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • Imagetemple.com
Re: how to modify the full size popup page?
« Reply #2 on: February 26, 2008, 10:30:16 pm »

Copy theme_display_fullsize_pic() from the sample theme into your custom theme.php and modify your copy.

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

Page created in 0.014 seconds with 15 queries.