coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Fed on February 26, 2008, 09:46:00 PM

Title: [Solved]: how to modify the full size popup page?
Post by: Fed 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
Title: Re: how to modify the full size popup page?
Post by: Nibbler 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.
Title: Re: how to modify the full size popup page?
Post by: Fed on February 26, 2008, 10:30:16 PM
Quote from: Nibbler 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.

great, thank you :)