forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: Beetuna on December 09, 2010, 07:51:56 pm

Title: Prevent full-image view browser window popup from resizing
Post by: Beetuna on December 09, 2010, 07:51:56 pm
Hi,  ;D

I have read through docs.
I have searched and read several posts, for new versions and old versions.
I have edited and searched through multiple files, including php files, js files, and theme files.
I have moved code from the sample theme.php into the theme.php (for curve, which I am using).

I cannot get this to work at all.

My best guess was this line (which appears in a couple spots, depending on whether or not the overlay is on I guess):

Code: [Select]
$pic_html .= "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
I have edited this line to remove the width and height tags.  It doesn't do anything.

My gallery: http://www.fizzworld.net/eggpics/index.php

It is a fairly default, new installation with minimal content at this point.  I have restored the files to their original versions as best I can now.  I simply need someone else to tell me what the deal is.

All I want to do is figure out how to stop that popup window from automatically resizing.  I want it to just be a regular browser window.  Please help me!  ??? ???

Thank you!
Title: Re: Prevent full-image view browser window popup from resizing
Post by: Αndré on December 10, 2010, 11:56:57 am
http://forum.coppermine-gallery.net/index.php/topic,65409.0.html
Title: Re: Prevent full-image view browser window popup from resizing
Post by: Beetuna on December 10, 2010, 07:09:24 pm
That uses some sort of odd filter for IE which I don't want.
I'm more interested in simply removing the code that causes the window resize myself, rather than attaching a plugin to overload it or whatever it does.   Can you direct me to that please?
Thanks.
Title: Re: Prevent full-image view browser window popup from resizing
Post by: Αndré on December 10, 2010, 07:25:59 pm
That's a feature of your browser. Coppermine doesn't resize the full-sized image. That has already been discussed in several threads.