coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: safetybar on June 18, 2005, 12:21:26 AM

Title: pop-up window problem
Post by: safetybar on June 18, 2005, 12:21:26 AM
Hello- 

I've used the hacks to obtain my ultimate goal which is to have my thumbnail images go directly to a full size pop up.  However, the pop up window opens as a little sliver and requires you to maximize it.  Then when it's maximized the picture is too big and there are scroll bars.  I have 2 questions:

1.  How can I make the window fitted to my picture?

2.  Is there a way that the picture can be re-sized to fit in a pop up on the users computer?

Thank you in advance, all the help on the forums has been great.

Tony
http://www.arcand.org/cpg133
Title: Re: pop-up window problem
Post by: kegobeer on June 18, 2005, 12:59:41 AM
Well, if you look at the code Coppermine uses to create popups for fullsize images, you should see exactly how you can call popups of varying sizes.
Title: Re: pop-up window problem
Post by: safetybar on June 18, 2005, 02:25:04 AM
Can anyone give me a hint as to where that might be?  I'm a novice at this and don't know too much about code. 
Title: Re: pop-up window problem
Post by: Joachim Müller on June 30, 2005, 11:09:43 AM
<script language="JavaScript" type="text/JavaScript">
adjust_popup();
</script>