coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: noni on August 27, 2006, 12:10:52 PM

Title: How to make pop-ups bigger?
Post by: noni on August 27, 2006, 12:10:52 PM
I'm using the the thumbnail to pop-up mod...
http://forum.coppermine-gallery.net/index.php?topic=32487

for both my galleries
http://gallery.efanguide.com/~vidya
http://gallery2.efanguide.com/~amritarrao

It's working fine but when the pop up opens it cuts off a small part of the bottom of the pic so you have to scroll to view the whole image. Is there anyway of making the pop-up a lil bigger and not so cramped?

Many thanks in advance!
Title: Re: How to make pop-ups bigger?
Post by: Stramm on August 27, 2006, 12:48:46 PM
copy the entire function theme_html_picture() from themes/sample/theme.php to the theme.php you're actually using

in this function find
            $winsizeX = $CURRENT_PIC_DATA['pwidth']+5;  //the +'s are the mysterious FF and IE paddings
            $winsizeY = $CURRENT_PIC_DATA['pheight']+3; //the +'s are the mysterious FF and IE paddings

and change the +5, +3 to values that fit to your needs.
Title: Re: How to make pop-ups bigger?
Post by: noni on August 27, 2006, 05:24:11 PM
Thank you for helping!

I tried it in this gallery...
http://gallery.efanguide.com/~vidya

but it's still the same. :(
Title: Re: How to make pop-ups bigger?
Post by: Stramm on August 27, 2006, 05:32:23 PM
you're using the 'from thumbnail to fullsize popup' mod... do the necessary changes there. Sorry, can't help you more cause I do not know that mod. Next time it would be helpful if you tell mods you applied beforehand
Title: Re: How to make pop-ups bigger?
Post by: Joachim Müller on August 27, 2006, 10:38:04 PM
Quote from: noni on August 27, 2006, 12:10:52 PM
I'm using the the thumbnail to pop-up mod...
http://forum.coppermine-gallery.net/index.php?topic=32487
Title: Re: How to make pop-ups bigger?
Post by: Stramm on August 27, 2006, 11:05:15 PM
sorry, looks like I somehow misread the inital post
Title: Re: How to make pop-ups bigger?
Post by: noni on August 28, 2006, 04:41:05 PM
That's fine ;)

So does no one know? :(
Title: Re: How to make pop-ups bigger?
Post by: Joachim Müller on August 28, 2006, 06:12:45 PM
Mods don't get supported on the regular support board, as they are just what the same suggests: modifications posted as a contribution by a user.
Mods only get supported (if at all) on the very thread that deals with them. For the particular thread you're refering to: if you're refering to the one I summarized for cpg1.4.x - that mod doesn't get supported at all (at least not by me).