Prevent full-image view browser window popup from resizing Prevent full-image view browser window popup from resizing
 

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

Prevent full-image view browser window popup from resizing

Started by Beetuna, December 09, 2010, 07:51:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Beetuna

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

$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!


Beetuna

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.

Αndré

That's a feature of your browser. Coppermine doesn't resize the full-sized image. That has already been discussed in several threads.