Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38
  1. #1
    Join Date
    Aug 2008
    Location
    Cornwall, UK
    Posts
    20
    Plugin Contributions
    0

    help question Image Popup is too small

    Can anybody help, I have uploaded my Zen cart and all photo's and the info to go with the photo's, 'but' when you click on the image, the big popup is smaller than the picture, I have tried increasing the size of the popup box which has not worked. You can view the problem at http://www.cornishmaid.co.uk You will see that every popup photo is bigger than the box?
    Regards
    K

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Image Popup is too small

    This appears to work fine when I looked???

    Fire Fox
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Image Popup is too small

    I looked with Firefox and IE. Both looked fine. If the image were really larger than the popup box, you'd have scroll bars to change the view.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  4. #4
    Join Date
    Aug 2008
    Location
    Cornwall, UK
    Posts
    20
    Plugin Contributions
    0

    Default Re: Image Popup is too small

    Since I posted I found a page with 'resize();' so I deleted the () and it cured the problem. I will find the page again and post the address here in case anybody else had the same problem.

  5. #5
    Join Date
    Aug 2008
    Location
    Cornwall, UK
    Posts
    20
    Plugin Contributions
    0

    Idea or Suggestion Re: Image Popup is too small

    To make the image popup window show the picture the correct size without cutting the bottom off? I went to the following page:

    includes/templates/template_default/popup_image/tpl_main_page.php

    on this page near the top I found this line:

    ?>
    <body id="popupImage" class="centeredContent" onload="resize();">
    <div>

    I then deleted the () after resize so it looked like:

    ?>
    <body id="popupImage" class="centeredContent" onload="resize;">
    <div>

    to then centre the box I went to:

    includes/modules/pages/product_info/jscript_main.php

    after screen Y I changed left=150 to left=500 in both lines

    My picture now shows correctly in the popup box and the box is in the centre. Hope this may help if anybody else has the same problem I had.
    Regards
    K

  6. #6
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Image Popup is too small

    You realize that files in template_default will be overwritten with the next upgrade/update and your changes will be lost. Same with files where overrides aren't available. You should always copy the template_default files into your custom template folder on the same level and edit that version.

    If I edit a file where overrides aren't available, I create a custom folder anyway to keep a copy of my changes (the custom folder won't be used by Zen Cart). That way, I can compare the changed file to the latest version of the file and duplicate the changes.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  7. #7
    Join Date
    Dec 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Image Popup is too small

    Unfortunately this didn't do it for me. Oh, well I will keep looking.

  8. #8
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Image Popup is too small

    Quote Originally Posted by morcael View Post
    Unfortunately this didn't do it for me. Oh, well I will keep looking.
    What are you trying to do?
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  9. #9
    Join Date
    Aug 2008
    Location
    Cornwall, UK
    Posts
    20
    Plugin Contributions
    0

    Idea or Suggestion Re: Image Popup is too small

    Thank you for suggesting to backup the files I have changed, I have now done it. I just went to your website, very nice as well, but notice you have the same problem as what I 'had', with the popup box being too small for the picture's. Maybe Zen Cart should write a patch to correct it. (suggestion)
    Regards
    K

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Image Popup is too small

    you have the same problem as what I 'had', with the popup box being too small for the picture's. Maybe Zen Cart should write a patch to correct it.
    This box opens as large as your images are by default

    Maybe you need to evaluate your image sizes
    Zen-Venom Get Bitten

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Popup images window too small - doesn't resize
    By davenz in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 15 Oct 2010, 03:44 AM
  2. How to get Rid of Image-title Popup when cursor over small image?
    By cevans73 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Jul 2008, 11:35 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