Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2005
    Posts
    28
    Plugin Contributions
    0

    Default Larger Image problem...

    I read posts whree others had this problem. The larger image link pops up a window that cuts off the bottom of the image. I just want the larger image link to pop up my image unchanged... no resizing, etc...

    thanks,

    brian

  2. #2
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: Larger Image problem...

    The popup window code for the larger images is a javascript function that is in the file;

    includes -> modules -> pages -> product_info -> jscript_main.php

    You can adjust the properties for the popupWindow Function...

    This is a core file (i dont beleive it can be overidden) so keep a backup!

    hope this helps...

  3. #3
    Join Date
    Feb 2008
    Location
    Melbourne
    Posts
    6
    Plugin Contributions
    0

    Default Re: Larger Image problem...

    good info. thanks.

    I noticed this started occurring when firefox 3.0 was released.

  4. #4
    Join Date
    Apr 2005
    Posts
    28
    Plugin Contributions
    0

    Default Re: Larger Image problem...

    You can see the problem here:

    www.tacpsteins.com

    I tried editing that file and didn't notice a difference. Also tried editing the same file but in the image_popup folder.

    Just can't seem to get this working... Any help is appreciated.

    thanks,

    brian

  5. #5
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: Larger Image problem...

    This is the only mod I have used to change the popup window..

    includes -> modules -> pages -> product_info -> jscript_main.php

    function popupWindow(url) {
    window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=550,height=600,scree nX=0,screenY=0,top=50,left=50')
    }


    some browsers block javascript....firefox can limit some javascript functions like window resizing....etc...

  6. #6
    Join Date
    Sep 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Larger Image problem...

    I have the same problem...

    I changed the same line of code, but some of the changes don't have any effect while others do.
    e.g. scrollbar=yes does the job, but somehow the size of the window is "overruled" somehow. If I change e.g. the width and heigth and click on "larger image", a very short time a window appears of the right side (with noting in it yet) but this changes almost immediately in the "original" format.

    I noticed that in the original code the width and heigth are both set to 100 which is also not the size of the resulting window.
    the original code was:
    window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screen X=150,screenY=150,top=150,left=150')
    which is much smaller than the standard window that shows when you don't change anything


    Is there somehow an adaption being made? and if so, where can this be changed?

  7. #7
    Join Date
    Sep 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Larger Image problem...

    and as addition...
    this happens both in IE and in FF

  8. #8
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: Larger Image problem...

    my IE works as it should.... opens the window with the settings using that function...

    my firefox also uses the same settings and opens up a window...

    BUT

    when the new window is generated, there is a new function resize() which is executed,
    that is defined in includes - modules - pages - popup_image - jscript_main.php that resizes the window..

    (my ie allows this resize, but my firefox does not)

    hope this helps..
    ~Steve~

  9. #9
    Join Date
    Sep 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Larger Image problem...

    Quote Originally Posted by s_t_e_v_e View Post
    that is defined in includes - modules - pages - popup_image - jscript_main.php that resizes the window..



    hope this helps..
    works! thanks!

 

 

Similar Threads

  1. Attribute image replaces main image but only pop up larger image
    By welchyboy in forum Setting Up Categories, Products, Attributes
    Replies: 15
    Last Post: 26 Nov 2010, 11:56 PM
  2. larger image problem
    By tickle in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 23 Oct 2009, 03:20 PM
  3. Replies: 0
    Last Post: 31 Dec 2008, 07:39 PM
  4. Larger Image is not Larger!
    By carol2848 in forum Basic Configuration
    Replies: 3
    Last Post: 13 Sep 2008, 06:50 PM
  5. Larger Image not showing larger issue
    By wireyourworld in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 30 Apr 2008, 09:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg