Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2006
    Posts
    6
    Plugin Contributions
    0

    Default Larger Image Popup Size

    Hello, I am trying to resize the larger image popup window to show my whole image at the size it is without any of it getting cut off like it is here now.

    Click to see.

    Would someone be kind enough to point me in the right direction as to where I edit to make this window stay the same size? I have tried to edit the code in: includes/modules/pages/product_info/jscript_main.php and the window seems to open to the full size but then snaps back smaller cutting off the bottom portion of the image.

    Thanks In Advance!
    Tiina

  2. #2
    Join Date
    Jul 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Larger Image Popup Size

    Sorry lol I just finally found the thread I was searching for all last night and I have fixed it! YAY!!

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,706
    Plugin Contributions
    12

    Default Re: Larger Image Popup Size

    It would be helpful to those also searching if you posted the link that finally helped you.

    Not jumping on you, just wanted to remind all who post that someone else might be looking for the same answer.

    And to those that never scroll to the bottom of the screen..... Scroll to the bottom and see what you've been missing.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  4. #4
    Join Date
    Jul 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Larger Image Popup Size

    Well,

    I dont remember the link. Sorry.

    All I did was change the 45 to a 95 in:

    includes/modules/pages/popup_images/jscript_main.php

    Code:
    <script language="javascript" type="text/javascript"><!--
    var i=0;
    function resize() {
      if (navigator.appName == 'Netscape') i=10;
      if (document.images[0]) {
      imgHeight = document.images[0].height+95-i;
      imgWidth = document.images[0].width+30;
      var height = screen.height;
      var width = screen.width;
      var leftpos = width / 2 - imgWidth / 2;
      var toppos = height / 2 - imgHeight / 2;
      window.moveTo(leftpos, toppos);
      window.resizeTo(imgWidth, imgHeight);
      }
      self.focus();
    }
    //--></script>

  5. #5

    Default Re: Larger Image Popup Size

    anyone have any idea how to add SCROLL function to this....?

    please.

  6. #6

    Default Re: Larger Image Popup Size

    Here is a link to a post about SCROLLING the pop, i applied it however i can not tell at this point if it is working.

    http://www.zen-cart.com/forum/showthread.php?t=9277

  7. #7
    Join Date
    Oct 2007
    Posts
    51
    Plugin Contributions
    0

    Default Re: Larger Image Popup Size

    Quote Originally Posted by Miss Tiina View Post
    Well,

    I dont remember the link. Sorry.

    All I did was change the 45 to a 95 in:

    includes/modules/pages/popup_images/jscript_main.php

    Code:
    <script language="javascript" type="text/javascript"><!--
    var i=0;
    function resize() {
      if (navigator.appName == 'Netscape') i=10;
      if (document.images[0]) {
      imgHeight = document.images[0].height+95-i;
      imgWidth = document.images[0].width+30;
      var height = screen.height;
      var width = screen.width;
      var leftpos = width / 2 - imgWidth / 2;
      var toppos = height / 2 - imgHeight / 2;
      window.moveTo(leftpos, toppos);
      window.resizeTo(imgWidth, imgHeight);
      }
      self.focus();
    }
    //--></script>
    This doesn't seem to be working for me. I changed the numbers and in my cart the popup image window pops up small, and you have to manually stretch it to see the entire image. This used to work properly and i just recently started having this problem on all computers all browsers.

    Can anyone help? Here is in case you need a link to my cart...click an image...
    http://www.nicecarvings.com/cart/ind...products_id=14
    My zen cart is being rebuilt!! www.nicecarvings.com
    The Quantity Discount Mod is working great!
    www.thatsoftwareguy.com/zencart

  8. #8
    Join Date
    Oct 2007
    Posts
    51
    Plugin Contributions
    0

    Default Re: Larger Image Popup Size

    My zen cart is being rebuilt!! www.nicecarvings.com
    The Quantity Discount Mod is working great!
    www.thatsoftwareguy.com/zencart

 

 

Similar Threads

  1. v153 Larger image popup not resizing - image is tall and skinny
    By laurelsstitchery in forum General Questions
    Replies: 4
    Last Post: 13 Oct 2014, 05:06 PM
  2. larger image popup
    By 510ego in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 25 Feb 2011, 01:27 AM
  3. larger image popup to same small image
    By twitchtoo in forum Setting Up Categories, Products, Attributes
    Replies: 26
    Last Post: 12 Aug 2010, 05:28 PM

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