How to make pop-ups bigger? How to make pop-ups bigger?
 

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]

Main Menu

How to make pop-ups bigger?

Started by noni, August 27, 2006, 12:10:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

noni

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!

Stramm

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.

noni

Thank you for helping!

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

but it's still the same. :(

Stramm

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

Joachim Müller


Stramm

sorry, looks like I somehow misread the inital post

noni


Joachim Müller

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).