Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Prevent full-image view browser window popup from resizing  (Read 4446 times)

0 Members and 1 Guest are viewing this topic.

Beetuna

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Prevent full-image view browser window popup from resizing
« 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!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Logged

Beetuna

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Prevent full-image view browser window popup from resizing
« Reply #2 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Prevent full-image view browser window popup from resizing
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.057 seconds with 20 queries.